03 · Tools / Admin & developer

Regex tester

Test JavaScript regular expressions with live highlighting, capture groups and replace.

Runs in your browser Nothing you type here leaves your device.

Flags: g all matches · i ignore case · m multiline · s dot matches newline · u Unicode

Matches

Capture groups

#MatchIndexGroups

Use $1 for group 1, {{body}}amp; for the whole match, {{body}}lt;name> for named groups.

This tests JavaScript regular expressions. Most basics work the same in Python, PowerShell (.NET) and grep -E, but lookbehind and named groups can differ.