Instructions
Regex tester
How to use
Enter a pattern and flags, then the text to test.
Enter a pattern and flags, then the text to test.
Supported input
JavaScript regular expressions. Text up to 200,000 characters and patterns up to 500. Up to 2,000 matches are listed.
Input example
\d{3}-\d{4} · call 010-1234-5678Result example
1. "1234-5678" @7
Troubleshooting
Nothing is produced for empty input. Split very long text into parts.
Limitations
Syntax can differ from other engines such as PCRE or Python. A very slow pattern can freeze the page.
How it works
Runs a regular expression on text, highlights each match and lists its groups. JavaScript regular expressions. Text up to 200,000 characters and patterns up to 500. Up to 2,000 matches are listed.
Units & precision
JavaScript regular expressions. Text up to 200,000 characters and patterns up to 500. Up to 2,000 matches are listed.