Regex Tester
Test and debug regular expressions with live highlighting.
//gi
2 matches
Contact us at hello@fahaq.com or support@example.org for help.
Free online regex tester. Write a regular expression and see matches highlighted live in your test string, with flag toggles and a match count. Uses the JavaScript regex engine. Runs in your browser.
How to use the Regex Tester
- 01Enter your pattern between the slashes.
- 02Toggle flags (g, i, m, s, u, y) as needed.
- 03Type a test string — matches highlight live with a count.
Frequently asked questions
Which regex flavor does this use?
It uses the JavaScript (ECMAScript) regular expression engine — the same one that runs in browsers and Node.js.