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).
Installation Details
- PHP: 4.4.7-pl0-gentoo
- PCRE: 7.0 18-Dec-2006
To run your regular expression against a different version of php, use the following link: PHP5
You have javascript disabled. Some features of this page will run better with javascript enabled.