<?php $str = '一行*'; preg_match('/^\*?([^\*]+)\*+/', $str, $m); var_dump($m[1]);
You have javascript disabled. You will not be able to edit any code.