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
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,020 community submitted regex patterns...
1
Date validation
ECMAScript (JavaScript)
A regular expression to validate a Date in format DD/MM/YYYY
Submitted by
Felipe Montaña
-
10 years ago
1
intl numbers
PCRE (PHP <7.3)
Good for valid numbers for international currencies - checks for accepted variations for thousands and decimal separators http://docs.oracle.com/cd/E19455-01/806-0169/overview-9/index.html
Submitted by
Arlen Tees
-
10 years ago
1
Regular Expression for Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have resolved the issue for leap Year and month ending day as well.
Submitted by
Priyanka Khadilkar
-
10 years ago
2
Regular Expression For Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have Resolved leap year issue as well as month ending day issue with Regular expression
Submitted by
Priyanka Khadilkar
-
10 years ago
2
donotbackup
PCRE (PHP <7.3)
finding directories w/ donotbackup
Submitted by
anonymous
-
10 years ago
0
Get all header tag (<hn>) in html file
PCRE (PHP <7.3)
This regex get all header tag in html file with tag included
Submitted by
Aubin
-
10 years ago
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
-
10 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
-
10 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)
-
10 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
-
10 years ago
1
date validation
ECMAScript (JavaScript)
Validation for date 2013.12.24 14:50
Submitted by
axelprog
-
10 years ago
1
Brazilian phone numbers
Python
no description available
Submitted by
rafaelverger
-
10 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]*
-
10 years ago
-2
Comma-separated numbers with ranges
ECMAScript (JavaScript)
no description available
Submitted by
Eugene
-
10 years ago
0
soap envelope regexp
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
test123
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 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
-
10 years ago
0
SickRage
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 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
-
10 years ago
2
phone regex
ECMAScript (JavaScript)
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
10 years ago
1
...
872
873
874
875
876
...
901
Community Library Entry
0
Regular Expression
Golang
`
(?s)
\.
getModification
\(
\s
*
[
"'
]
(
[
\w
\-
]
+
)
[
'"
]
\s
*
,
\s
*
(
[
"'
]
[^
"
]
*
[
'"
]
|
[
+-
]
?
(?:
\d
*
[
.
]
)?
\d
+
|
true
|
false
|
False
|
True
)
(?:
\s
*
,
\s
*
(?:
true
|
false
|
\d
+
|
"
[^
"
]
*
"
)
)?
\s
*
\)
`
gm
Open regex in editor
Description
kt SDKV2
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)