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 17,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JIRA Tickets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 09:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fox EMEA PDP's
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 13:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Subnet Validator
ECMAScript (JavaScript)
Validates the subnet. Not the subnet mask. It is only for 2 or 3 octets
Submitted by
anonymous
-
4 years ago
2020-05-06 16:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SubnetMask Validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 16:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPV4 Validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 16:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPV6 Validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 16:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CEP mask
PCRE (PHP <7.3)
Brazilian CEP mask
Submitted by
anonymous
-
4 years ago
2020-05-06 16:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Negative lookahead to excluded non-Windows Office and a couple others
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 18:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Emoji
ECMAScript (JavaScript)
Parse emojies C Sharp example https://rextester.com/VFNJZ68617
Submitted by
anonymous
-
4 years ago
2020-05-06 23:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular expression to validate sentences with characters used in spanish.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-07 00:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Clear
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-07 01:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Command - description (botfather)
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-05-07 08:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Consecutive images
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-07 08:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AUX/LUX
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-05-07 19:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 06:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 06:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
numbers
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 06:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN1-v2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 07:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN2-v4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 07:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN2-OK-1
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 07:06
1
...
860
861
862
863
864
865
866
...
871
Get the city name from combined zip code and city input
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
[
0
-
9
]
\
(
[
A
-
Za
-
z
]
*
)
$
/
i
Open regex in editor
Description
Loading markdown...
Submitted by
Nils
-
8 years ago
2015-11-12 10:36