| Pattern | Description |
| ^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$ | This expression matches email addresses, and checks that they are of the proper form. It checks to ensure the top level domain is between 2 and 4 characters long. |
| ^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$ | A regular expression to match phone numbers, allowing for an international dialing code at the start and hyphenation and spaces that are sometimes entered. |
| ^\d{1,2}\/\d{1,2}\/\d{4}$ | This regular expressions matches dates of the form XX/XX/YYYY where XX can be 1 or 2 digits long and YYYY is always 4 digits long. |
| ^([0-1][0-9]|[2][0-3]):([0-5][0-9])$ | This regular expressions matches time in the format of HH:MM
|
| \b(([01]?\d?\d|2[0-4]\d|25[0-5])\.){3}([01]?\d?\d|2[0-4]\d|25[0-5])\b | This regular expressions matches Decimal IPs.
|
| ^\d{5}$|^\d{5}-\d{4}$ | This regular expression will match either a 5 digit ZIP code or a ZIP+4 code formatted as 5 digits, a hyphen, and another 4 digits. |
| ^\d{3}-\d{2}-\d{4}$ | This regular expression will match a hyphen-separated Social Security Number (SSN) in the format NNN-NN-NNNN. |
| ^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$ | Matches major credit cards including: Visa (length 16, prefix 4), Mastercard (length 16, prefix 51-55), Discover (length 16, prefix 6011), American Express (length 15, prefix 34 or 37). All 16 digit formats accept optional hyphens (-) between each group of four digits. |
(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z 0-9\-\._\?\,\'/\\\+&%\$#\=~])* | This regular expression will match some URL. |