Test regular expressions against php's preg functions.
The data you enter will be passed directly to the preg function indicated by the button pressed.
The pattern must be enclosed by matching delimiters. It can be followed by any number of perl or php trailing options with the exception of the 'e' flag.
For more information on perl compatible regular expressions in php, refer to the php manual.
Notes on Results
Strings are displayed as UTF-8. Some common non-visible characters are replaced with visible indicators of their presence, e.g. · indicates a space (0x20).
- PHP: 5.2.17
- PCRE: 8.02 2010-03-19