๐ป Developer Tools
Regex Tester
Test a JavaScript regular expression and flags against sample text in real time.
Ready to use ยท Runs in your browser ยท No signup
tools ยท toolkits
How to use the Regex Tester
Test JavaScript-compatible regular expressions against text and see match counts or syntax errors immediately in the browser.
- Enter the regular-expression pattern without slash delimiters.
- Enter JavaScript regex flags such as g, i, m, s, or u.
- Fieldlet compiles the expression and lists matching text when the expression is valid.
Last reviewed for accuracy:
Common questions
Which regex flavor does this use?
It uses the JavaScript RegExp implementation provided by the visitor's browser.