← All toolsDeveloper tools
Regex Tester
Try a regular expression against sample text and list every match.
A regular expression, or regex, is a search pattern for text, such as “every email address”. This tool lets you try a pattern on sample text and see exactly what it matches.
YOUR WORKSPACERuns on your device · No sign-up
A few helpful answers
Is what I type uploaded?
No. This tool runs in your browser, so what you enter stays on your device.
Which regex flavour is this?
JavaScript. Patterns can behave differently in Python, PCRE, Go or other engines.
Why did the page freeze?
Some patterns take a very long time on certain text. Reload the page and simplify nested repeats such as (a+)+.