Request UI Bakery demo
About UI Bakery
Log in
Try UI Bakery for free
Logo

UI Bakery RegEx Library

RegEx Library - a curated list of useful regular expressions for different programming languages.

Regex library - A curated list of most commonly used regular expressions | Product Hunt
JavaScript
Python
Java
C#
PHP
Email regex

The regular expressions below can be used to validate if a string is an email address and to extract email addresses from a string. This validation method however does not guarantee that the emails validated and extracted actually exist.

Phone number regex

The regular expressions below can be used to validate if a string is a valid phone number format and to extract a phone number from a string. Please note that this validation can not tell if a phone number actually exists.

IP address regex

The regular expressions below can be used to validate if a string is a valid IP address format and to extract an IP address from a string. Please note that this validation can not tell if an IP address actually exists.

Date regex

Date regular expressions can be used to validate if a string has a valid date format and to extract a valid date from a string.

URL regex

URL regular expressions can be used to verify if a string has a valid URL format as well as to extract an URL from a string.

Numbers only regex (digits only)

Numbers only (or digits only) regular expressions can be used to validate if a string contains only numbers.

UUID regex

UUID is a 128-bit label used for identifications in computer systems.

Regex match words

This regular expression can be used to validate that a given string contains only characters in it or extract two words from a given string.

ZIP code regex

ZIP code (US postal code) regular expression can be used to verify if a given string contains a valid ZIP code or extract ZIP code from a string. Supports both 5-digit and 9-digit (ZIP+4) formats.

GUID regex

GUID is an acronym for Globally Unique Identifier and used for resource identification. The term is generally used instead of UUID when working with Microsoft technologies.

Password regex

Password regular expression can be used to verify that a password provided is strong enough to provide better protection against bot brute force attacks. This method, however, does not guarantee that a password will have enough entropy to be completely safe.

HTML regex (regex remove html tags)

HTML stands for HyperText Markup Language and is used to display information in the browser. HTML regular expressions can be used to find tags in the text, extract them or remove them. Generally, it’s not a good idea to parse HTML with regex, but a limited known set of HTML can be sometimes parsed.

SSN regex

SSN stands for social security number and is issued to US citizens, permanent and temporary residents.

XML regex

XML stands for Extensible Markup Language and is used for storing arbitrary data. Usually, it’s not a good thing to parse XML with regular expressions, but in certain situations, it can be very helpful to retrieve (scrape) a specific piece of information that you need.

Mac address regex

Mac address is a unique identifier assigned to network interface controllers like WiFi routers, Ethernet controllers, etc. It has a format of six groups of 2 hexadecimal digits separated by dash or colon (e.g. 00:00:5e:00:53:af). Mac address regular expression can be used to validate that a certain string contains mac address or extract mac address from a given string.

Street address regex

Usually, it’s a bad idea to validate street addresses using regular expressions (read below). But in some cases it might make sense and here’s a regular expression that can help with that

Email regex Python

The regular expressions below can be used to validate if a string is an email address and to extract email addresses from a string. This validation method however does not guarantee that the emails validated and extracted actually exist.

Phone number regex Python

The regular expressions below can be used to validate if a string is a valid phone number format and to extract a phone number from a string. Please note that this validation can not tell if a phone number actually exists.

IP address regex Python

The regular expressions below can be used to validate if a string is a valid IP address format and to extract an IP address from a string. Please note that this validation can not tell if an IP address actually exists.

Date regex Python

Date regular expressions can be used to validate if a string has a valid date format and to extract a valid date from a string.

URL regex Python

URL regular expressions can be used to verify if a string has a valid URL format as well as to extract an URL from a string.

Numbers only regex (digits only) Python

Numbers only (or digits only) regular expressions can be used to validate if a string contains only numbers.

UUID regex Python

UUID is a 128-bit label used for identifications in computer systems.

Regex match words Python

This regular expression can be used to validate that a given string contains only characters in it or extract two words from a given string.

ZIP code regex Python

ZIP code (US postal code) regular expression can be used to verify if a given string contains a valid ZIP code or extract ZIP code from a string. Supports both 5-digit and 9-digit (ZIP+4) formats.

GUID regex Python

GUID is an acronym for Globally Unique Identifier and used for resource identification. The term is generally used instead of UUID when working with Microsoft technologies.

Password regex Python

Password regular expression can be used to verify that a password provided is strong enough to provide better protection against bot brute force attacks. This method, however, does not guarantee that a password will have enough entropy to be completely safe.

HTML regex Python

HTML stands for HyperText Markup Language and is used to display information in the browser. HTML regular expressions can be used to find tags in the text, extract them or remove them. Generally, it’s not a good idea to parse HTML with regex, but a limited known set of HTML can be sometimes parsed.

SSN regex Python

SSN stands for social security number and is issued to US citizens, permanent and temporary residents.

XML regex Python

XML stands for Extensible Markup Language and is used for storing arbitrary data. Usually, it’s not a good thing to parse XML with regular expressions, but in certain situations, it can be very helpful to retrieve (scrape) a specific piece of information that you need.

Mac address regex Python

Mac address is a unique identifier assigned to network interface controllers like WiFi routers, Ethernet controllers, etc. It has a format of six groups of 2 hexadecimal digits separated by dash or colon (e.g. 00:00:5e:00:53:af). Mac address regular expression can be used to validate that a certain string contains mac address or extract mac address from a given string.

Street address regex Python

Usually, it’s a bad idea to validate street addresses using regular expressions (read below). But in some cases it might make sense and here’s a regular expression that can help with that

Email regex Java

The regular expressions below can be used to validate if a string is an email address and to extract email addresses from a string. This validation method however does not guarantee that the emails validated and extracted actually exist.

Phone number regex Java

The regular expressions below can be used to validate if a string is a valid phone number format and to extract a phone number from a string. Please note that this validation can not tell if a phone number actually exists.

IP address regex Java

The regular expressions below can be used to validate if a string is a valid IP address format and to extract an IP address from a string. Please note that this validation can not tell if an IP address actually exists.

Date regex Java

Date regular expressions can be used to validate if a string has a valid date format and to extract a valid date from a string.

URL regex Java

URL regular expressions can be used to verify if a string has a valid URL format as well as to extract an URL from a string.

Numbers only regex (digits only) Java

Numbers only (or digits only) regular expressions can be used to validate if a string contains only numbers.

UUID regex Java

UUID is a 128-bit label used for identifications in computer systems.

Regex match words Java

This regular expression can be used to validate that a given string contains only characters in it or extract two words from a given string.

ZIP code regex Java

ZIP code (US postal code) regular expression can be used to verify if a given string contains a valid ZIP code or extract ZIP code from a string. Supports both 5-digit and 9-digit (ZIP+4) formats.

GUID regex Java

GUID is an acronym for Globally Unique Identifier and used for resource identification. The term is generally used instead of UUID when working with Microsoft technologies.

Password regex Java

Password regular expression can be used to verify that a password provided is strong enough to provide better protection against bot brute force attacks. This method, however, does not guarantee that a password will have enough entropy to be completely safe.

HTML regex Java

HTML stands for HyperText Markup Language and is used to display information in the browser. HTML regular expressions can be used to find tags in the text, extract them or remove them. Generally, it’s not a good idea to parse HTML with regex, but a limited known set of HTML can be sometimes parsed.

SSN regex Java

SSN stands for social security number and is issued to US citizens, permanent and temporary residents.

XML regex Java

XML stands for Extensible Markup Language and is used for storing arbitrary data. Usually, it’s not a good thing to parse XML with regular expressions, but in certain situations, it can be very helpful to retrieve (scrape) a specific piece of information that you need.

Mac address regex Java

Mac address is a unique identifier assigned to network interface controllers like WiFi routers, Ethernet controllers, etc. It has a format of six groups of 2 hexadecimal digits separated by dash or colon (e.g. 00:00:5e:00:53:af). Mac address regular expression can be used to validate that a certain string contains mac address or extract mac address from a given string.

Street address regex Java

Usually, it’s a bad idea to validate street addresses using regular expressions (read below). But in some cases it might make sense and here’s a regular expression that can help with that

Email regex C#

The regular expressions below can be used to validate if a string is an email address and to extract email addresses from a string. This validation method however does not guarantee that the emails validated and extracted actually exist.

Phone number regex C#

The regular expressions below can be used to validate if a string is a valid phone number format and to extract a phone number from a string. Please note that this validation can not tell if a phone number actually exists.

IP address regex C#

The regular expressions below can be used to validate if a string is a valid IP address format and to extract an IP address from a string. Please note that this validation can not tell if an IP address actually exists.

Date regex C#

Date regular expressions can be used to validate if a string has a valid date format and to extract a valid date from a string.

URL regex C#

URL regular expressions can be used to verify if a string has a valid URL format as well as to extract an URL from a string.

Numbers only regex (digits only) C#

Numbers only (or digits only) regular expressions can be used to validate if a string contains only numbers.

UUID regex C#

UUID is a 128-bit label used for identifications in computer systems.

Regex match words C#

This regular expression can be used to validate that a given string contains only characters in it or extract two words from a given string.

ZIP code regex C#

ZIP code (US postal code) regular expression can be used to verify if a given string contains a valid ZIP code or extract ZIP code from a string. Supports both 5-digit and 9-digit (ZIP+4) formats.

GUID regex C#

GUID is an acronym for Globally Unique Identifier and used for resource identification. The term is generally used instead of UUID when working with Microsoft technologies.

Password regex C#

Password regular expression can be used to verify that a password provided is strong enough to provide better protection against bot brute force attacks. This method, however, does not guarantee that a password will have enough entropy to be completely safe.

HTML regex C#

HTML stands for HyperText Markup Language and is used to display information in the browser. HTML regular expressions can be used to find tags in the text, extract them or remove them. Generally, it’s not a good idea to parse HTML with regex, but a limited known set of HTML can be sometimes parsed.

SSN regex C#

SSN stands for social security number and is issued to US citizens, permanent and temporary residents.

XML regex C#

XML stands for Extensible Markup Language and is used for storing arbitrary data. Usually, it’s not a good thing to parse XML with regular expressions, but in certain situations, it can be very helpful to retrieve (scrape) a specific piece of information that you need.

Mac address regex C#

Mac address is a unique identifier assigned to network interface controllers like WiFi routers, Ethernet controllers, etc. It has a format of six groups of 2 hexadecimal digits separated by dash or colon (e.g. 00:00:5e:00:53:af). Mac address regular expression can be used to validate that a certain string contains mac address or extract mac address from a given string.

Street address regex C#

Usually, it’s a bad idea to validate street addresses using regular expressions (read below). But in some cases it might make sense and here’s a regular expression that can help with that

Email regex PHP

The regular expressions below can be used to validate if a string is an email address and to extract email addresses from a string. This validation method however does not guarantee that the emails validated and extracted actually exist.

Phone number regex PHP

The regular expressions below can be used to validate if a string is a valid phone number format and to extract a phone number from a string. Please note that this validation can not tell if a phone number actually exists.

IP address regex PHP

The regular expressions below can be used to validate if a string is a valid IP address format and to extract an IP address from a string. Please note that this validation can not tell if an IP address actually exists.

Date regex PHP

Date regular expressions can be used to validate if a string has a valid date format and to extract a valid date from a string.

URL regex PHP

URL regular expressions can be used to verify if a string has a valid URL format as well as to extract an URL from a string.

Numbers only regex (digits only) PHP

Numbers only (or digits only) regular expressions can be used to validate if a string contains only numbers.

UUID regex PHP

UUID is a 128-bit label used for identifications in computer systems.

Regex match words PHP

This regular expression can be used to validate that a given string contains only characters in it or extract two words from a given string.

ZIP code regex PHP

ZIP code (US postal code) regular expression can be used to verify if a given string contains a valid ZIP code or extract ZIP code from a string. Supports both 5-digit and 9-digit (ZIP+4) formats.

GUID regex PHP

GUID is an acronym for Globally Unique Identifier and used for resource identification. The term is generally used instead of UUID when working with Microsoft technologies.

Password regex PHP

Password regular expression can be used to verify that a password provided is strong enough to provide better protection against bot brute force attacks. This method, however, does not guarantee that a password will have enough entropy to be completely safe.

HTML regex PHP

HTML stands for HyperText Markup Language and is used to display information in the browser. HTML regular expressions can be used to find tags in the text, extract them or remove them. Generally, it’s not a good idea to parse HTML with regex, but a limited known set of HTML can be sometimes parsed.

SSN regex PHP

SSN stands for social security number and is issued to US citizens, permanent and temporary residents.

XML regex PHP

XML stands for Extensible Markup Language and is used for storing arbitrary data. Usually, it’s not a good thing to parse XML with regular expressions, but in certain situations, it can be very helpful to retrieve (scrape) a specific piece of information that you need.

Mac address regex PHP

Mac address is a unique identifier assigned to network interface controllers like WiFi routers, Ethernet controllers, etc. It has a format of six groups of 2 hexadecimal digits separated by dash or colon (e.g. 00:00:5e:00:53:af). Mac address regular expression can be used to validate that a certain string contains mac address or extract mac address from a given string.

Street address regex PHP

Usually, it’s a bad idea to validate street addresses using regular expressions (read below). But in some cases it might make sense and here’s a regular expression that can help with that

  1. Home

    /

  2. RegEx Library
Integrations
AWS API
AWS Lambda
DynamoDB
Oracle
Redshift
Snowflake
GraphQL
Supabase
Twilio
Azure Blob Storage
Slack
SendGrid
Generic HTTP API
AWS S3
Stripe
Microsoft SQL
Salesforce
PostgreSQL
MySQL
MongoDB
HubSpot
Google Sheets
Google BigQuery
Firebase
Airtable
Resources
Low code platform
Drag and drop UI Builder
Automations
New
Git version controlDocsIntro to UI BakeryOn-PremTemplatesUse casesWhat's newBlogRoadmapBest 7 Retool alternativesTop 9 Bubble alternativesBest 9 PostgreSQL GUI toolsTop 10 online database softwareFAQ
Solutions
Inventory management toolCustomer support toolAdmin panelSales toolMarketing tool
For Developers
UtilsRegex library
UI Bakery replacement
Ruby admin replacementReact admin replacementDjango admin replacementAngular admin replacementPHP admin replacement
Why UI Bakery
UI Bakery vs. AppsmithUI Bakery vs. DronaHQUI Bakery vs. Retool
Terms & Services
Terms of servicePrivacy policy
If you have questions feel free to contact us:
+1 (415) 670-9034Contact us[email protected][email protected]
Follow us:

© 2015-2023 UI Bakery Inc.