Test JavaScript regular expressions with live highlighting, capture groups, named groups, and replacement preview.
A fast ECMAScript regex playground. Type a pattern, flip g/i/m/s/u/y flags, and watch matches highlight in your test string instantly. Inspect every capture group and named group in a sortable table, preview replacements with $1, $2, and $<name> syntax, and surface syntax errors inline. Caps at 1,000 matches to stay responsive.
Got questions? We’ve got answers. Here are some of the most common inquiries about Regex Tester.
Regex Tester
Live ECMAScript regex with captures, named groups, and replacement preview.
Highlighted matches will appear here.0
0
1/6
0