Test JavaScript regular expressions live with match highlighting, groups and replace.
What is the Regex Tester?
Write a regular expression and see every match highlighted in your test text as you type. The tool lists each match with its position and capture groups, and can preview a replacement. It uses JavaScript regex syntax.
How to use the Regex Tester
- Enter your pattern and flags (g, i, m, s, u).
- Paste your test text.
- Check matches, groups and the replace preview.
Frequently asked questions
What do the flags mean?
g = find all matches, i = ignore case, m = multiline, s = dot matches new lines, u = Unicode.
This regex tester is 100% free, needs no signup and runs in your browser, so your data stays private.
Last updated: · By NodifyTech