Test regular expressions with live match highlighting, match positions, and capture groups.
Test regular expressions against sample text in real time with live match highlighting. Supports all JavaScript regex flags (g, i, m, s, u), named capture groups, and displays each match's index and captured groups. No data leaves your browser.
Input
Contact us at hello@karuvilab.com or support@example.orgOutput
Matches: hello@karuvilab.com, support@example.orgInput
Order #4521 ships in 3 daysOutput
Matches: 4521, 3JavaScript's built-in RegExp engine. Most common patterns are compatible, but features like lookbehinds require a modern browser (Chrome 62+, Firefox 78+).
Check that special characters (., *, +, ?, (, )) are escaped with a backslash if you want them treated literally.
g finds all matches (not just the first), i ignores case, m makes ^ and $ match line boundaries, s makes . match newlines.
Yes. Use (?<name>...) syntax. Named groups are displayed alongside numeric groups in the match list.