Regex Tester

Test and debug regular expressions with live match highlighting, capture groups, and flag toggles.

Pattern

Enter a pattern, choose flags, then paste your test string.

//g

Test String

Highlighted Result (0 matches)

Matches will be highlighted here.