Examples
Emails
Matches valid email addresses.
Another pattern to match valid email addresses.
Yet another pattern to match valid email addresses.
URLs
Matches URLs with optional protocol and subdomains.
Another pattern to match URLs.
Yet another pattern to match URLs.
Numbers (with and without decimals)
Matches numbers with optional sign and decimal points.
Another pattern to match numbers.
Yet another pattern to match numbers.
Dates of all known formats
Matches dates in various formats.
Another pattern to match dates.
Yet another pattern to match dates.
Time in all known formats
Matches time in various formats.
Another pattern to match time.
Yet another pattern to match time.
Phone Numbers
Matches US phone numbers with optional area code and formatting.
Another pattern to match phone numbers.
Yet another pattern to match phone numbers.
Zip Codes
Matches US zip codes in various formats.
Another pattern to match US zip codes.
Yet another pattern to match US zip codes.
Password Strength validation
Matches passwords with at least 8 characters, containing at least one uppercase letter, one lowercase letter, one number, and one special character.
Another pattern for password validation.
Yet another pattern for password validation.
File Extensions
Matches file extensions (e.g., .txt, .jpg, .pdf).
Another pattern to match file extensions.
IPv4 Addresses
Matches IPv4 addresses in dotted decimal notation.
Another pattern to match IPv4 addresses.
Credit Card Numbers
Matches credit card numbers in various formats.
Another pattern to match credit card numbers.
City, State Abbreviations
Matches US city names followed by state abbreviations.
Another pattern to match city names and state abbreviations.
Social Security Numbers
Matches US social security numbers in various formats.
Another pattern to match social security numbers.
Dollar Amounts
Matches dollar amounts in various formats.
Another pattern to match dollar amounts.
Hexadecimal Values
Matches hexadecimal values.
Another pattern to match hexadecimal values.
MAC Addresses
Matches MAC addresses in various formats.
Another pattern to match MAC addresses.
HTML Tags
Matches HTML tags.
Another pattern to match HTML tags.
Last updated
Was this helpful?