A regular expression to match the first occurrence of a number in a string.
A regular expression to check if a string is all uppercase (or lowercase) letters.
A regular expression to match Git repository URLs.
A handy regular expression that can be used to match all #hashtags in strings, like Twitter tweets and Facebook posts.
A regular expression to extract Youtube video ID from a link.
A regular expression that allows you to validate a string with no whitespace at the beginning and end.
A regular expression that validates and matches UK National Insurance Number (NIN).
A regular expression to match the first line of a file. Can be useful in adding more content to the beginning or end of the first line of your code.
A regular expression to match all whitespaces except new links in your content.
A Regular Expression to match two characters surrounding a single space, with support for enforcing a minimum and maximum number of characters.
A Regular Expression to validate and match a string that starts and ends with an alphabetic character.
A regular expression that matches a slash at the end of a string.
A regular expression to match all words excluding digits
A regular expression that matches the first word after a specific word in a sentence.
Useful regular expressions that will match even or odd numbers such as zip code, state id, or passport number.
A regular expression that determines if a given string has all unique (none repeating) characters.
A regular expression that matches the various names of the days of the week.
A regular expression to extract a domain name or subdomain (with a protocol like HTTPS, HTTP) from a given URL.
A regular expression that matches month names. Supports both full month names and 3-letter abbreviations.
A regular expression that matches multiple Email addresses separated by semicolons in a string.
A regular expression to match one URL parameter in query strings. Can be used to filter requests on a specific parameter from the query string.