Standard validation for email addresses (RFC 5322).
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
Load into tester Searches web links with http or https protocol.
https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*)
Load into tester Validates IPv4 network addresses (0.0.0.0 to 255.255.255.255).
(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)
Load into tester Checks for standard IPv6 address patterns.
((?:[0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|(?:[0-9a-fA-F]{1,4}:){1,7}:|(?:[0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|(?:[0-9a-fA-F]{1,4}:){1,5}(?::[0-9a-fA-F]{1,4}){1,2}|(?:[0-9a-fA-F]{1,4}:){1,4}(?::[0-9a-fA-F]{1,4}){1,3}|(?:[0-9a-fA-F]{1,4}:){1,3}(?::[0-9a-fA-F]{1,4}){1,4}|(?:[0-9a-fA-F]{1,4}:){1,2}(?::[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:(?:(?::[0-9a-fA-F]{1,4}){1,6})|:(?:(?::[0-9a-fA-F]{1,4}){1,7}|:))
Load into tester International phone numbers with optional area codes.
\+?[0-9]{1,4}[\s.-]?[0-9]{2,4}[\s.-]?[0-9]{2,4}[\s.-]?[0-9]{2,4}
Load into tester ISO 8601 date format for databases.
\d{4}-\d{2}-\d{2}
Load into tester Standard date format for German-speaking regions.
\b(?:0?[1-9]|[12][0-9]|3[01])\.(?:0?[1-9]|1[0-2])\.(?:19|20)?\d{2}\b
Load into tester Valid 24-hour time (00:00 to 23:59).
\b(?:[01]?\d|2[0-3]):[0-5]\d\b
Load into tester 4-digit (CH) or 5-digit (DE) postal codes.
\b\d{4,5}\b
Load into tester Currency amounts with decimal separator and currency symbol.
(?:€|EUR|CHF|\$)\s?\d+(?:[.,]\d{2})?|\d+(?:[.,]\d{2})?\s?(?:€|EUR|CHF|\$)
Load into tester Min 8 chars, 1 uppercase, 1 lowercase, 1 number, 1 special character.
^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$
Load into tester Color codes in web hex format (#3- or #6-digit).
#(?:[0-9a-fA-F]{3}){1,2}\b
Load into tester Finds opening or closing HTML tags.
<\/?[a-zA-Z0-9]+(?:\s+[a-zA-Z0-9-]+(?:=(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s*\/?>
Load into tester Finds pure letter blocks (including German umlauts).
[a-zA-ZäöüÄÖÜß]+
Load into tester Finds pure numbers (with optional sign).
-?\b\d+\b
Load into tester Decimal numbers with dot or comma separation.
-?\b\d+[.,]\d+\b
Load into tester 16-digit credit card numbers (with/without hyphens).
\b(?:\d{4}[-\s]?){3}\d{4}\b
Load into tester Network MAC addresses (separated by colons/hyphens).
\b(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2}\b
Load into tester Finds whitespace at the start or end of lines.
^\s+|\s+$
Load into tester 3 to 16 characters, allows letters, numbers, _ and -.
^[a-zA-Z0-9_-]{3,16}$
Load into tester Universally Unique Identifier (version 4).
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}
Load into tester Detects three-part JWTs (header.payload.signature).
eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+
Load into tester Lowercase letters, numbers and hyphens – e.g. for SEO URLs.
^[a-z0-9]+(?:-[a-z0-9]+)*$
Load into tester Version numbers following the SemVer standard (major.minor.patch).
\bv?\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?\b
Load into tester Valid domain names without protocol.
\b(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}\b
Load into tester Extracts text and URL via named groups (?<text>) and (?<url>).
\[(?<text>[^\]]+)\]\((?<url>[^)]+)\)
Load into tester Social media hashtags including underscore.
#[A-Za-z0-9_]+
Load into tester Finds accidentally repeated words via backreference \1.
\b(\w+)\s+\1\b
Load into tester Swiss IBAN (CH + 19 digits, grouped).
\bCH\d{2}\s?(?:\d{4}\s?){4}\d\b
Load into tester Finds emojis – requires the u flag.
\p{Emoji_Presentation}
Load into tester