Regex Tester
Test a regular expression against your text with live highlighting, match counts and capture groups. Runs entirely in your browser.
How it works
Frequently Asked Questions
JavaScript (ECMAScript) regular expressions β the same engine your browser and Node use.
g = all matches, i = case-insensitive, m = ^/$ match line starts/ends, s = dot matches newlines.
No β matching runs in your browser, so nothing is sent to a server.
Test and debug regular expressions online for free with live match highlighting. Enter a JavaScript regex and flags (global, ignore-case, multiline, dotall), paste your test string, and instantly see every match highlighted along with the capture groups. It is perfect for building and verifying patterns for validation, search-and-replace and scraping. Everything runs in your browser, so your patterns and text never leave your device.