Regex Tester
Regular Expression Pattern
//g
Test String
Common Regex Patterns
Email:
\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b
Phone (US):
\(?\d{3}\)?[-. ]?\d{3}[-. ]?\d{4}
URL:
https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)
IP Address:
\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b