Developer tool

Regex Tester

Enter a pattern, choose flags and test it against your text instantly.

Runs in your browser. No upload.

Regular expressions run locally in your browser.

Matches0
No matches yet.

About this tool

Regex Tester made simple.

Use it to debug patterns before putting them in JavaScript, a form validation rule or a search workflow. Everything runs locally.

Common questions

About regex tester.

How do I test a regular expression?

Enter a JavaScript regular expression, add any flags you need, paste sample text and select Test expression.

Which regex flags can I use?

Use flags supported by JavaScript regular expressions, such as g for all matches, i for case-insensitive matching and m for multiline matching.