functions-online

preg_match

en
de
es
fr
pt

description

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

Durchsucht $subject nach allen Übereinstimmungen mit dem in $pattern angegebenen regulären Ausdruck und legt sie in der durch $flags festgelegten Reihenfolge in $matches ab.

Busca en $subject por una coincidencia ($matches) con la expresión regular dada en $pattern.

Analyse $subject pour trouver l'expression qui correspond à $pattern.

Pesquisas $subject para um jogo, para regular a expressão dada em $pattern.

declaration of preg_match

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

test preg_match online













comments for preg_match

On 09. Dec 2011 09:05 Ilikekitlikethat wrote:

Congratulations! Very good! Thanks a lot.

On 07. Dec 2011 12:03 cclafferty wrote:

It appears as if there are extra back slashes placed in the "PHP" output. Thanks for such a great tool.

On 20. Jul 2011 23:47 0x255 wrote:

I use this page all the time to build my regexes. Thanks!! [2]

more comments for preg_match

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

+

Leave your comment