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 17,240 community submitted regex patterns...
1
dd dd
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Negative
PCRE (PHP <7.3)
Negation in pattern example
Submitted by
Kutuzov Alexey <Kutuz27>
-
8 years ago
1
isDomainValid
PCRE (PHP <7.3)
isDomainValid
Submitted by
anonymous
-
8 years ago
1
get instance name
PCRE (PHP <7.3)
takes a url and takes the instance name after the base url
Submitted by
amitair
-
8 years ago
1
US Zipcode Validator
PCRE (PHP <7.3)
Validation rule: not empty numeric only allow "XXXXX", "XXXXX XXXX", or "XXXXX-XXXX" first 5 digits cannot be "00000" (so "00000", "00000 XXXX" and "00000-XXXX" will be regected)
Submitted by
Zheyang Song
-
8 years ago
1
Find All Types In Salesforce's Package.xml
PCRE (PHP <7.3)
This regex will find all the types definitions following the
Submitted by
Jerome Russ
-
8 years ago
1
IP address validation
PCRE (PHP <7.3)
shortest ip validation regex
Submitted by
Giacomo.
-
8 years ago
4
Date yyyy/mm/dd
PCRE (PHP <7.3)
Regex following "ISO 8601" without hour : allowing only month 1 to 12, the day of 1 to 31 for the months of 31 days, the months from 1 to 30 for the months of 30 days, the day of 1 to 28 for February, and the day from 1 to 29 for February of leap years
Submitted by
Sara DULMAR
-
8 years ago
1
Google extract id
PCRE (PHP <7.3)
no description available
Submitted by
Razvan Suciu
-
8 years ago
0
^[a-zA-Z0-9\._-]+@[a-zA-Z0-9-]{2,}[.][a-zA-Z]{2,4}$
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
extract arguments from a javascript function
PCRE (PHP <7.3)
extract arguments from a javascript function
Submitted by
SS
-
8 years ago
1
Find_Anything_between_sequences
PCRE (PHP <7.3)
This will find anything between 2 sequences and only return the value
Submitted by
BTW
-
8 years ago
1
MERS-CoV
PCRE (PHP <7.3)
Search text for MERS-CoV references
Submitted by
anonymous
-
8 years ago
2
Select the first word of each paragraph
ECMAScript (JavaScript)
If you need to select only the firs complete word for each paragraph.
Submitted by
fmathews28
-
8 years ago
1
Panda
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Extract CN from DN (CanonicalName from DistinguishedName)
PCRE (PHP <7.3)
Given a DistinguishedName string, extracts the CN portion, coping with escaped characters
Submitted by
anonymous
-
8 years ago
1
RPN calculator grammar
PCRE (PHP <7.3)
For a custom, nested stack, RPN calculator
Submitted by
Alex Pilon
-
8 years ago
1
sudo-command
PCRE (PHP <7.3)
unix sudo command search
Submitted by
anonymous
-
8 years ago
(Last modified 9 months ago)
1
mewmew
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
perl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
659
660
661
662
663
...
862
SectIO
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
0
-
9
]
{3}
)
(
[
0
-
9
]
{3}
)
(
G
|
M
|
R
|
T
{1}
)
(
[
0
-
9
]
{1,4}
|
[
0
-
9
]
{1,3}
K
{0,1}
)
(
-
)
(
[
0
-
9
]
{1,4}
|
[
0
-
9
]
{1,3}
K
{0,1}
)
(
CM
|
FT
|
HM
|
HF
|
IN
|
KF
|
KM
|
MM
|
M
|
NM
|
SM
|
YD
{1,2}
)
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago