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
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 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 12,620 community submitted regex patterns...
3
UK Postcode Checker
PCRE (PHP <7.3)
This is an improvement of the very good tH9mQ1/1. It did not pickup on the first two postcodes found here: //http://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom
Submitted by
Flexander
-
9 years ago
1
Date range match
PCRE (PHP <7.3)
This is not my creation, it is from a github repor
Submitted by
Saji N
-
9 years ago
0
Find CSS Class with ability to replace
ECMAScript (JavaScript)
Changing class names is hard with a large codebase written in multiple languages. Classes can appear in several constructs. This tries to match the various ways a class can be represented in HTML. Plug the RegEx in to Sublime Text 2 using "Find in Files...". When replacing in ST2, change $1 to \1.
Submitted by
Matthew (@sirlancelot)
-
9 years ago
1
Pasando carga de estilos css a twig
PCRE (PHP <7.3)
Esa expresion regular busca los href y les reemplazar el atributo por un asset()
Submitted by
Manuel Aguirre
-
9 years ago
1
date validation
ECMAScript (JavaScript)
Validation for date 2013.12.24 14:50
Submitted by
axelprog
-
9 years ago
7
[A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-][-\w]*
PCRE (PHP <7.3)
A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-*
Submitted by
[A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-][-\w]*
-
9 years ago
-2
Comma-separated numbers with ranges
ECMAScript (JavaScript)
no description available
Submitted by
Eugene
-
9 years ago
0
soap envelope regexp
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
test123
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
omit data between single quotes
ECMAScript (JavaScript)
hi, i've been trying for hours to do this, i need to omit all text between single quotes / double quotes can someone help with this
Submitted by
avi.m
-
9 years ago
0
SickRage
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
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
2
phone regex
ECMAScript (JavaScript)
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
9 years ago
1
Remove invalid characters and autotrim
ECMAScript (JavaScript)
remove the multiline switch
Submitted by
iamtheauthor
-
9 years ago
1
Un-titled
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Nada
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Post
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Failure case for repeated strings
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-3
Regex for minimum specific character length
ECMAScript (JavaScript)
Hi All, I'm currently having an issue regarding writing regex to check minimum length of specific character. My case is for phone number. E.g. Phone number required at leat 8 character and max 19 character. However, people are allowed to write with 'space' character in between and that 'space' sho...
Submitted by
krisha
-
9 years ago
0
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
1
...
604
605
606
607
608
...
631
Disorted Email Addresses
52
Regular Expression
PCRE (PHP <7.3)
/
^
(?'Username'
[
-
\w\d
\.
]
+
?
)
(?:
\s
+
at
\s
+
|
\s
*
@
\s
*
|
\s
*
(?:
[
\[\]
@
]
){3}
\s
*
)
(?'Domain'
[
-
\w\d
\.
]
*
?
)
\s
*
(?:
dot
|
\.
|
(?:
[
\[\]
dot
\.
]
){3,5}
)
\s
*
(?'TLD'
\w
+
)
$
/
gm
Open regex in editor
Description
Matches distorted email addresses and converts them back to real ones.
Submitted by
dislick
-
11 years ago