Free Regex Tester
Test regular expressions against text live.
Loading tool…
About the Regex Tester
Free regex tester. Write a regular expression, toggle flags, and see matches and capture groups highlighted in your test string in real time — right in your browser.
How it works
- 1
Enter a pattern
Type your regular expression.
- 2
Add test text
Paste the string to match against.
- 3
See matches
Matches and groups are highlighted live.
Frequently asked questions
It uses JavaScript's regular expression engine, matching what runs in browsers and Node.js.
Yes — toggle g, i, m, s and u flags and see matches update instantly.