Regex Tester
Write a pattern, test it against your text — matches highlighted live with capture group details.
/
/
About the Regex Tester
Regular expressions (regex) are patterns used to match character combinations in text. This tester lets you write a pattern, set flags, and instantly see all matches highlighted in your test string — no need to run code.
Common flags
g— global: find all matches, not just the firsti— case-insensitivem— multiline:^and$match line boundariess— dotAll:.matches newline characters too
Capture groups
Parentheses create capture groups. The tester shows each group value ($1, $2 etc.) next to every match in the match list.
Frequently Asked Questions
What regex flavour does this use?
JavaScript ECMAScript RegExp — supports groups, lookaheads, lookabehinds, and named captures.
What do the flags mean?
g=global, i=case-insensitive, m=multiline, s=dotAll, u=unicode, y=sticky.
Are my patterns saved?
No. Everything runs in your browser. Nothing is stored or sent anywhere.