Regex Tester

Test, debug, and understand your regular expressions in real-time. Free, client-side, and privacy-first.

//
0 matches
Matches will appear here...

Common Regex Patterns

Email Address

^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

URL

^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*)$

IPv4 Address

^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$

Alphanumeric String

^[a-zA-Z0-9]+$