Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Relevance
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 500 community submitted regex patterns...
0
URL Validation JS
ECMAScript (JavaScript)
Domain can be an IP address, except 0.0.0.0 Domain with length of 1 accepted Only acceptable symbol in Domain is "-" (hyphen) Not allowed in start, end or twice in a row (same for "." (dot))...
Submitted by
Artur
-
3 years ago
(Last modified 3 years ago)
0
Phone # Validation
ECMAScript (JavaScript)
This recognizes phone numbers, including country codes if they're present.
Submitted by
Phoenix Staley
-
3 years ago
0
Multiple MAC Address Validation
PCRE2 (PHP >=7.3)
Used to validate the list of MAC addresses is formatted correctly. The list of MACs can use ":", "-", or "." as a separator: Example with a "-" separator: 00-11-22-33-44-55 Example with a ":" separator: 00:11:22:33:44:55 ...
Submitted by
Joel Jordan
-
3 years ago
0
Email input validation
ECMAScript (JavaScript)
Regex to validate an email input with the following rules... Whole address: Up to 254 characters. Case insensitive. Username and domain separated by @ symbol....
Submitted by
chCharly
-
3 years ago
(Last modified 3 years ago)
0
Validation
PCRE2 (PHP >=7.3)
^a-zA-Z+@[a-zA-Z]{3,20}\.[a-z]{3}$
Submitted by
anonymous
-
3 years ago
0
Russian phone validation
PCRE2 (PHP >=7.3)
This expression validates russian phones in different formats
Submitted by
zkelo
-
3 years ago
(Last modified 2 years ago)
0
Validation code FETLOCK pt-br
ECMAScript (JavaScript)
Validação de código de barras boleto padrão "FEBRABAN - Federação Brasileira de Bancos".
Submitted by
Rafaella Cintra
-
3 years ago
(Last modified 2 years ago)
0
Date validation in yyyy-mm-dd format
ECMAScript (JavaScript)
Comes with choice of four separators
Submitted by
Regular-Expressions.info
-
3 years ago
0
Mail address validation
ECMAScript (JavaScript)
Validates mail addresses
Submitted by
Sjoerd de Vries
-
3 years ago
0
DK CPR Validation
PCRE2 (PHP >=7.3)
Checks in input for matching social security numbers in Denmark
Submitted by
Found online
-
3 years ago
0
AAU CPR validation (more rebust)
PCRE2 (PHP >=7.3)
This one makes sure to not match 31 in months where it does not exist and cuts off february at 28. Might need to do special check for 29th of february ..?
Submitted by
anonymous
-
3 years ago
0
CSS RGB validation
ECMAScript (JavaScript)
It validates the RGB expression doesn't break the CSS parser.
Submitted by
Martin
-
3 years ago
(Last modified 3 years ago)
0
Strict URL validation
PCRE2 (PHP >=7.3)
(?!..]{2})((https?|http)\:\/\/)?([a-z0-9+!(),;?&=\$.-]+(\:[a-z0-9+!(),;?&=\$.-]+)?@)?([a-z0-9-.-.]?(?!.\/).)\.([a-z]{2,1000})(\:[0-9]{2,5})?(\/([a-z0-9+\$-]\.?)+)\/?(\?[a-z+&\$.-)?(#a-z_.-)?
Submitted by
Adwin Raj GP
-
3 years ago
0
Strict URL Validation - 2
PCRE2 (PHP >=7.3)
https://regex101.com/ https://www.cloudways.com/blog/prevent-laravel-xss-exploits/ https://cloudways.com
Submitted by
Adwin
-
3 years ago
0
Javascript HTTP URL Validation
PCRE2 (PHP >=7.3)
Use to validate basic website URLs with or without http://. I took bits and pieces of other regexes I found and compiled into one that worked well for my purposes.
Submitted by
Daniel Ecker
-
3 years ago
0
Email Validation
PCRE2 (PHP >=7.3)
Validates email
Submitted by
anonymous
-
3 years ago
0
Yii regex email validation
PCRE2 (PHP >=7.3)
Extract this regex from EmailValidation.php
Submitted by
Qiang Xue
-
3 years ago
0
Git Commit Message Validation
Python
Validate a modified Version of https://udacity.github.io/git-styleguide/
Submitted by
anonymous
-
2 years ago
0
NIgerian Phone Numbers RegEx Validation
PCRE2 (PHP >=7.3)
This RegEx validates whether a number is in the standard valid Nigerian mobile number format or not.
Submitted by
funmitoblessed
-
2 years ago
0
URL Validation
.NET 7.0 (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
2 years ago
1
...
23
24
25