Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 14,720 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract parent domain from DNS FQDN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-05 13:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Teardown
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-04 14:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AppDelivery URL Teardown v1
PCRE (PHP <7.3)
Tears down a publishing URL that conforms to the Midland/PNC Application Delivery Publishing URL specification.
Submitted by
anonymous
-
4 years ago
2019-09-04 14:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
US Phone Number
PCRE (PHP <7.3)
Enhanced US Phone Number to reduce false positives.
Submitted by
anonymous
-
4 years ago
2019-09-04 14:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Min
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-04 15:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
US Phone Number
PCRE (PHP <7.3)
Phone Number from the USA and similar countries using the a single-digit country code (optionally).
Submitted by
Timothy Stam
-
4 years ago
2019-09-04 18:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Token Key/Value
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-05 14:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Key/value using :
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-04 22:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Key/value using =
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-04 22:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Key / Value based off =&
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-04 22:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MM NRC
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-05 03:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ip4校验
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-05 06:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
VIN Validator
PCRE (PHP <7.3)
Rules: MUST have 17 alphanumeric letters except I, O, and Q to avoid confusion Position 9 is the check digit 0-9 and X (10)
Submitted by
anonymous
-
4 years ago
2019-09-05 08:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
REGEX - Find 10 digits, starting with '9'. Can contain white-spaces, but these should be ignored.
ECMAScript (JavaScript)
An invoice number always has 10 digits, starting with a '9' (e.g. '9400065741'). But a number should also be found if it contains white-spaces. These numbers should also be found: '9400065741' ' 94 00065741'...
Submitted by
anonymous
-
4 years ago
2019-09-05 09:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sophos UTM
PCRE (PHP <7.3)
welsh blood
Submitted by
anonymous
-
4 years ago
2019-09-05 15:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
1 A-Z, unlimited numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-05 17:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
1 A-Z, unlimited numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-05 17:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ad-Din Picker Solved Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-06 03:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
postcode both lower & upper case
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-06 10:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Checkpoint firewall critical
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-06 11:47
1
...
588
589
590
591
592
593
594
...
736
Password validation
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(?=
.
*
[
A
-
Z
]
)
(?=
.
*
[
a
-
z
]
)
(?=
.
*
[
0
-
9
]
)
[
\w
!@#$%
]
{6,}
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Webchef.de
-
8 years ago
2015-09-18 13:34