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
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 2,880 community submitted regex patterns...
1
Simple email verification regex
PCRE2 (PHP >=7.3)
Regular Expression ^(?=a-z{5,40}$)[a-z0-9._-]{1,20}@(?:(?=[a-z0-9-]{1,15}\.)[a-z0-9]+(?:-[a-z0-9]+)*\.){1,2}[a-z]{2,6}$ By default, the app converts all the email value to lower case before validation. Please use regex101.com: email to analyse and validate the regex. The error message for an ...
Submitted by
Sowed Castelli
-
3 years ago
1
Simple ID verification
PCRE2 (PHP >=7.3)
Used to validate documents identifiers like passports and IDs, VISA numbers. Default to 6 characters min and max 30 characters for format tin-no, such as the Tax regisration number.- Regular Expression ^[a-zA-Z0-9 ]{6,30}$ Accepts both lowercase and uppercase letters, from a-z, digit, and white s...
Submitted by
Sowed Castelli
-
3 years ago
1
Simple TIN number regex
PCRE2 (PHP >=7.3)
Only accept numerics/digits and hyphens, forbidding them at the start and the end of the number, and avoid two consecutive occurrences.
Submitted by
Sowed Castelli
-
3 years ago
1
Simple TIN number regex
PCRE2 (PHP >=7.3)
Only accept numerics/digits and hyphens, forbidding them at the start and the end of the number, and avoid two consecutive occurrences. The length of the input is limited by the app.
Submitted by
Sowed Castelli
-
3 years ago
1
Person NAME verification
PCRE2 (PHP >=7.3)
Regular Expression ^[a-zA-Z ]{2,30}$ Allow only letters and space between each characters to support for multi word single name. Only accepts english letter characters.
Submitted by
Sowed Castelli
-
3 years ago
1
學位英文簡稱
PCRE2 (PHP >=7.3)
按照縮寫慣例 A.A.A A.A.A. A.A. A.A.A./A.A.A. ...
Submitted by
stone
-
3 years ago
1
UK fixed and mobile phones
PCRE2 (PHP >=7.3)
Will match all fixed and mobile phone numbers with 9 or 10 digit NSN Resource used: https://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom
Submitted by
Octav
-
3 years ago
1
email-tec
PCRE2 (PHP >=7.3)
mesa
Submitted by
anonymous
-
3 years ago
1
Book of Jude
PCRE2 (PHP >=7.3)
Searches for expressions containing biblically accurate references for the book of Jude.
Submitted by
anonymous
-
3 years ago
-1
T
PCRE2 (PHP >=7.3)
T
Submitted by
me
-
3 years ago
1
Pokemon Go Discord - friend codes
PCRE2 (PHP >=7.3)
A regex to parse codes from a discord server
Submitted by
EagleBirdman
-
3 years ago
(Last modified 3 years ago)
1
2
PCRE2 (PHP >=7.3)
2
Submitted by
anonymous
-
3 years ago
1
Gitlab - Branch name
PCRE2 (PHP >=7.3)
Branch name for Gitlab's Push Rules
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
Gitlab - Commit message
PCRE2 (PHP >=7.3)
Commit message for Gitlab's Push Rules
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
aws-arn-parser
PCRE2 (PHP >=7.3)
this helps in parsing aws arn's
Submitted by
anonymous
-
3 years ago
1
Markdown checkboxes
PCRE2 (PHP >=7.3)
Match checkboxes that haven't been checked and are not followed by a footnote or crossed out text
Submitted by
heygarrett.com
-
3 years ago
1
find http urls in data-full-url attribute
PCRE2 (PHP >=7.3)
This parses http url's from the data-full-url attribute of a block of code
Submitted by
Kelvin Spencer
-
3 years ago
1
One or more spaces
PCRE2 (PHP >=7.3)
Find one or more spaces
Submitted by
anonymous
-
3 years ago
1
Nombres en mayusculas
PCRE2 (PHP >=7.3)
Nombres en mayúsculas Permite filtrar palabras de nombres con mayúsculas y tildes. Incluye la ñ para Latinoamérica.
Submitted by
macorreag
-
3 years ago
1
Email obfuscation
PCRE2 (PHP >=7.3)
An expression that obfuscates with * following this rule: @. Example: Input: eagles.willys@willbethebest.co.uk...
Submitted by
Ernesto Janebro
-
3 years ago
1
...
5
6
7
8
9
...
144
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago