Regex Tester

A regular expression is a tiny search language. Type one below and watch it light up every place it matches — with the captured pieces pulled out and the whole pattern translated back into plain English, symbol by symbol.

live as you type your browser's own RegExp engine no network 7 matches

Pattern

try

Test text

ready 0.0 ms hover or tap a highlight to see its groups

Replace preview

Use $1, $2 for numbered groups, $<name> for named ones, and $& for the whole match.

Matches

    What this pattern says — piece by piece