Name

ereg

Synopsis

$result = ereg($expression, $string);

$result = ereg($expression, $string, $match_array);

Returns a true value if string matches the regular expression expression. If an array is provided as the third argument, the values matched in the string are placed in the array.

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.