Searches $subject for all matches to the regular expression given in $pattern and puts them in $matches in the order specified by $flags.

declaration of preg_match

int preg_match ( string $pattern , string $subject , array &$matches [, int $flags ] [, int $offset ] )

test preg_match online

share preg_match

comments for preg_match

On 08. Jul 2016 22:45 Alan Heung wrote:

Very helpful website specially for complex syntax

On 24. Jan 2015 13:57 lien wrote:

thank you very much It's very useful

On 12. Oct 2014 15:27 Raj wrote:

Great job. I use this website very often. Salute to its developer for developing such a product.

more comments for preg_match

There are some more comments for preg_match(). To see them all click here.


Leave your comment