Regex Tester

Test and debug regular expressions with live matching and highlighting

Regular Expression

//
Found 2 matches

Test String

Matches Highlighted

Contact us at support@example.com or sales@company.org for more information.

Match Details

Match 1Index: 14

support@example.com

Match 2Index: 37

sales@company.org

Replace

Pattern Library

Quick Reference

Character Classes

\d - Digit (0-9)
\w - Word character
\s - Whitespace
. - Any character

Quantifiers

* - 0 or more
+ - 1 or more
? - 0 or 1
{n,m} - Between n and m

Anchors

^ - Start of string
$ - End of string
\b - Word boundary