PHP regex tester & explainer

Test PCRE regular expressions against real text using PHP's own engine. Every token explained in plain English.

Regular expression

Include delimiters and flags: /pattern/i or #pattern#

Test string

Mode

Results

Enter a pattern and test string, then click Test regex.

Common patterns library

More tools. One workspace.

Explore file conversion and AI tools from ConvertPilot.

File converters → Open AI Hub →