Developer Tools
Regex Tester
Test JavaScript regular expressions against your text. See matches highlighted in real time with capture groups.
//
Frequently asked questions
Which regex flavor is this?
This tester uses the JavaScript regex engine. It supports most common features but may differ from Python or PCRE in advanced features.
What do the flags mean?
g = global (all matches), i = case-insensitive, m = multiline, s = dotall, u = unicode. You can combine them like “gi” or “gim”.