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,660 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract Apache2 Host File Config Data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-07 00:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MM/YYYY validator between years
PCRE (PHP <7.3)
MM/YYYY validator between years
Submitted by
anonymous
-
4 years ago
2019-12-06 12:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Qn2-August2009
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-06 09:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
My Comment Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-06 00:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
password filter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-05 19:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
phone number*
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-05 15:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Nordig Cellphone numbers
PCRE (PHP <7.3)
This regex tests wheter a string can validated as a nordic cellphonenumber
Submitted by
anonymous
-
4 years ago
2019-12-05 14:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Message Decrypter Softuni Final Exam (2019-08-03)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-05 07:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
/^bingpla-/
ECMAScript (JavaScript)
bingpla- 广告
Submitted by
anonymous
-
4 years ago
2019-12-05 06:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Amex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-04 22:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Discover
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-04 21:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Visa MasterCard
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-04 21:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Visa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-04 21:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MasterCard
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-04 21:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Swedbank 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-04 13:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Private IP v4 Address
ECMAScript (JavaScript)
Validate IP addresses matching those specified in https://tools.ietf.org/html/rfc1918
Submitted by
anonymous
-
4 years ago
2019-12-04 12:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Indonesia License Plate
PCRE (PHP <7.3)
References: https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Indonesia
Submitted by
anonymous
-
4 years ago
2019-12-04 11:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Netherlands License Plate
PCRE (PHP <7.3)
References: https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_the_Netherlands
Submitted by
anonymous
-
4 years ago
2019-12-04 11:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
aaaa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-04 09:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mwd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-04 08:23
1
...
213
214
215
216
217
218
219
...
733
Age (in combination)
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
1
[
89
]
|
[
2
-
9
]
\d
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-12-03 19:44