Skip to content
No results
  • About Us
  • Contact
  • Privacy Policy
  • Regular Expression Cheatsheet
  • Sample Page
  • Submit Regular Expression
Regex Pattern
  • Home
  • Dates & Times
  • URI
  • Strings
  • Numbers
  • Markup & Programming
Regex Pattern
  • Numbers

Regex To Match First Numbers In A String

A regular expression to match the first occurrence of a number in a string.
  • Strings

Regex To Check If A String Is All Uppercase (Or Lowercase)

A regular expression to check if a string is all uppercase (or lowercase) letters.
  • URI

Regex To Match Git Repositories

A regular expression to match Git repository URLs.
  • Strings

Regex To Match All #hashtags In A String

A handy regular expression that can be used to match all #hashtags in strings, like Twitter tweets and Facebook posts.
  • URI

Regex To Extract Video ID From Youtube Link

A regular expression to extract Youtube video ID from a link.
  • Youtube
  • Strings

Regex To Match A String With No Whitespace At The Beginning And End

A regular expression that allows you to validate a string with no whitespace at the beginning and end.
  • Whitespace
  • Numbers

UK National Insurance Number (NIN) Regular Expression

A regular expression that validates and matches UK National Insurance Number (NIN).
  • Strings

Regex To Match The First Line Of A Text

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.
  • Strings

Regex To Match All Whitespace Except New Line

A regular expression to match all whitespaces except new links in your content.
  • Whitespace
  • Strings

Regex To Match Two Characters Surrounding A Single Space

A Regular Expression to match two characters surrounding a single space, with support for enforcing a minimum and maximum number of characters.
  • Whitespace
  • Strings

Regex To Check If A String Starts And Ends With An Alphabetic Character

A Regular Expression to validate and match a string that starts and ends with an alphabetic character.
  • Strings

Regex To Matche A Slash At The End Of A String

A regular expression that matches a slash at the end of a string.
  • Strings

Regex To Match Words With No Digits

A regular expression to match all words excluding digits
  • Strings

Regex To Match The First Word After A Specific Word

A regular expression that matches the first word after a specific word in a sentence.
  • Numbers

Regular Expression To Match Even Or Odd Numbers

Useful regular expressions that will match even or odd numbers such as zip code, state id, or passport number.
  • Strings

Regex To Determine If A String Has All Unique Characters

A regular expression that determines if a given string has all unique (none repeating) characters.
  • Date & Time

Regular Expression To Match Names Of The Days Of The Week

A regular expression that matches the various names of the days of the week.
  • URI

Regex To Extract Domain Name From URL

A regular expression to extract a domain name or subdomain (with a protocol like HTTPS, HTTP) from a given URL.
  • URL
  • Date & Time

Regular Expression To Match Month Name

A regular expression that matches month names. Supports both full month names and 3-letter abbreviations.
  • Strings

Regex To Match Multiple Email Addresses Separated By Semicolons

A regular expression that matches multiple Email addresses separated by semicolons in a string.
  • Email
  • URI

Regex To Match One Parameter In URL Query 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.
  • URL
Prev
1 2 3 4 5 6 … 13
Next

Trending now

BitTorrent Magnet Link Regular Expressioned2k Link Regular ExpressionXunlei (Thunder) Link Regular ExpressionUUID & GUID Regular Expression

Copyright © 2026 - Regexpattern.com

  • About Us
  • Contact
  • Privacy Policy
  • Cheatsheet
  • Submit