Runs entirely in your browser

Regex Tester & Builder

Test and debug regular expressions in real-time with match highlighting and explanations.

//
TEST STRING129 chars
MATCHES
Contact us at hello@example.com or support@test.org for more info. You can also reach invalid-email or another.email@domain.co.uk

Match Details (3 matches)

#MatchPositionGroups
1hello@example.com14-31-
2support@test.org35-51-
3another.email@domain.co.uk103-129-

Regex Quick Reference

Characters

. Any character

\d Digit [0-9]

\w Word [a-zA-Z0-9_]

\s Whitespace

\D \W \S Negations

Quantifiers

* 0 or more

+ 1 or more

? 0 or 1

{n} Exactly n

{n,m} n to m times

Anchors

^ Start of line

$ End of line

\b Word boundary

\B Not word boundary

Groups

(abc) Capture group

(?:abc) Non-capture

a|b OR

[abc] Character set

[^abc] Negated set

All processing happens in your browser • Your patterns and test data are never sent to a server

Follow Me