The string MUST be:
10 numbers then either followed by a star (*) or not followed by anything...
The code:
And it seems to work, just not sure if I have overlooked anything... Thanks!!$regexp_matches=preg_match("/^[0-9]{10}\*?$/", $regexp_string[$i]);