About the Regex Tester
Write a pattern, choose flags and see every match highlighted in your test text, with capture groups and a replacement preview.
Test JavaScript regular expressions with live match highlighting, capture groups and replace preview.
Write a pattern, choose flags and see every match highlighted in your test text, with capture groups and a replacement preview.
JavaScript (ECMAScript), as used in browsers and Node.js. Most syntax is shared with other languages.