Regex Match Lab

Run a pattern live against sample text: every match with its position, numbered and named capture groups, a match count, and a replacement preview.

DeveloperRegexMatchCapture
Regex Match Lab screenshot

Run a pattern live against sample text: every match with its position, its numbered capture groups and any named groups, a match count, and a replacement preview using $1 and $<name>.

Pattern

Test text and replacement

Match list
#AtMatch

More tools