Regex Tester

Test JavaScript regular expressions live and inspect every match and group.

How it works

Write a JavaScript regex, pick flags, and test against sample text with live highlighting and match details. See capture groups for each match as you type.

Example: an email pattern highlights every match in the text, e.g. ada@example.com.

//
0
Preview with highlights appears here.