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 11,280 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
SickRage
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-02 04:13
0
4 upvotes, 4 downvotes (score 21.5%) (You must be signed in to vote)
Password strength check
PCRE (PHP <7.3)
Checks password for following attributes: At least 2 uppercase letters At least 2 lowercase letters At least 2 numbers At least 2 non-alphanumeric characters ...
Submitted by
Visigral
-
9 years ago
2014-10-31 21:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Un-titled
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-29 17:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Nada
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-29 17:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Post
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-29 17:39
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regex Pattern for Mexico Phone Number using Groups
PCRE (PHP <7.3)
Can anyone help me format the following regex for Mexico Phone Numbers. I have two issues, the Regular Expression builder is telling me my Grouping is invalid and also I am having trouble with the 52 pattern. I want it to allow any two digits such as [0-9]{2} example: 52-555-786-2300 (\\+?1[\\s\...
Submitted by
kingpoop
-
9 years ago
2014-10-28 01:56
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Get version
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-27 12:58
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
None
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-27 06:42
-1
2 upvotes, 3 downvotes (score 11.8%) (You must be signed in to vote)
sfafagergfwefe323
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-10-26 19:15
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
,,,
PCRE (PHP <7.3)
,,,
Submitted by
,,,
-
9 years ago
2014-10-25 09:15
1
6 upvotes, 5 downvotes (score 28%) (You must be signed in to vote)
Find Word on A Text
PCRE (PHP <7.3)
This expression find a word in a text without limitation of "\b" statement
Submitted by
theShadow
-
9 years ago
2014-10-24 08:45
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
rwe
PCRE (PHP <7.3)
rwerw
Submitted by
rwerw
-
9 years ago
2014-10-24 07:52
10
15 upvotes, 5 downvotes (score 53.1%) (You must be signed in to vote)
Just validate one sequence of
PCRE (PHP <7.3)
sdfs sdfs FLBREV00022230 dsfsdfs sdfsf FLBREV00022234 In this case is false
Submitted by
Fiipe
-
9 years ago
2014-10-23 13:22
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
IsEmailValid()
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-22 13:04
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
asf
PCRE (PHP <7.3)
asfd
Submitted by
asdf
-
9 years ago
2014-10-22 11:16
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
test
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-10-21 23:33
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Validate date
PCRE (PHP <7.3)
Validate date in format dd/mm/yyyy dd.mm.yyyy dd-mm-yyyy or dd/mm/yy dd.mm.yy dd-mm-yy GetFrom -> http://stackoverflow.com/questions/15491894/regex-to-validate-date-format-dd-mm-yyyy
Submitted by
Dilakv
-
9 years ago
2014-10-21 18:45
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
e164_basic
PCRE (PHP <7.3)
e164_basic
Submitted by
anonymous
-
9 years ago
2014-10-21 16:18
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
e164_basic
PCRE (PHP <7.3)
e164_basic
Submitted by
anonymous
-
9 years ago
2014-10-21 16:15
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
GlobalRange-phone-fax
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-21 14:00
1
...
540
541
542
543
544
545
546
...
564
[A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-][-\w]*
6
7 upvotes, 1 downvotes (score 52.9%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
[
A
-
Za
-
z
\x{0600}-\x{06FF}\x{1000}-\x{1021}
_-
]
[
-
\w
]
*
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
[A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-][-\w]*
-
9 years ago
2014-11-03 16:04