Home › Developer tools › Regex Tester
Regex Tester
Type a pattern and some text to see every match highlighted, with capture groups.
Runs entirely in your browser. Nothing is uploaded.
How to use Regex Tester
- Type your regular expression and flags (g = all matches, i = ignore case, m = multiline).
- Paste the text to test against.
- Matches are highlighted live. Add a replacement to preview a find-and-replace.
Frequently asked questions
Which regex flavour is this?
JavaScript (ECMAScript) regular expressions, the same as in browsers and Node.js.