Regular Expression Tester

Test and validate your regular expressions against custom text inputs.

Matches: (0)

No matches found.

Examples

Email Validation

Matches most common email address formats.

RegExp: [\w-\.]+@([\w-]+\.)+[\w-]{2,4}

URL Validation

Matches URLs starting with http:// or https://.

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

Phone Number

Matches various phone number formats, including international.

RegExp: \+?\d{1,4}?[-.\s]?\(?\d{1,3}?\)?[-.\s]?\d{1,4}[-.\s]?\d{1,4}[-.\s]?\d{1,9}