<?php $str = ' /* Reg */ Ex '; var_dump(preg_replace('/^[\s]+/', '', $str));
You have javascript disabled. You will not be able to edit any code.