PCRE
PHP Manual

Exemple

Example #1 Examples of valid patterns

Example #2 Examples of invalid patterns


PCRE
PHP Manual