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,000 community submitted regex patterns...
0
Email validation
ECMAScript (JavaScript)
Simple email validation regexpr to handle subdomains and other stuff. See example
Submitted by
anonymous
-
7 years ago
0
Get First two entries with delimiter ","
PCRE (PHP <7.3)
Change the delimited from "," to something else if required.
Submitted by
thunder
-
7 years ago
0
Regex to select domain name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Shopee (PH) - Item ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Shopee (PH) - Store ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
rawString.split(/([^0-9.]+)/)
ECMAScript (JavaScript)
Splitting operators from numbers for a calculator
Submitted by
Kagerjay
-
7 years ago
0
Testing uri
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Java Period matcher and extractor
PCRE (PHP <7.3)
no description available
Submitted by
Jem North
-
7 years ago
0
To Filter string of exact length six and no repeating two digits consecutively (subset of two).
PCRE (PHP <7.3)
To Filter string of exact length six and no repeating two digits consecutively (subset of two).
Submitted by
anonymous
-
7 years ago
0
No repeating same digits in a string of max length six
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
GetDrive
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Census of Industrial Production
PCRE (PHP <7.3)
Test regex for sample page from census of industrial production
Submitted by
Peter Corrigan
-
7 years ago
0
search first column csv
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Bibliography
PCRE (PHP <7.3)
no description available
Submitted by
Nursin Şaşmaz
-
7 years ago
0
LO Register Regex
PCRE (PHP <7.3)
LO Register page regex
Submitted by
deep
-
7 years ago
0
Syslog RFC 5424
PCRE (PHP <7.3)
RFC 5424 (https://tools.ietf.org/html/rfc5424) parser
Submitted by
pstefka
-
7 years ago
0
ddd
PCRE (PHP <7.3)
ddd
Submitted by
anonymous
-
7 years ago
0
Strings
Python
no description available
Submitted by
anonymous
-
7 years ago
0
Minecraft NBT Numeric
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Match a string
PCRE (PHP <7.3)
For Stackoverflow by Sufiyan Ghori
Submitted by
anonymous
-
7 years ago
1
...
471
472
473
474
475
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
P
(?:
(?P<years>
[
0
-
9
\.
]
+
)
Y
)?
(?:
(?P<months>
[
0
-
9
\.
]
+
)
M
)?
(?:
(?P<days>
[
0
-
9
\.
]
+
)
D
)?
(?P<time>
T
(?:
(?P<hours>
[
0
-
9
\.
]
+
)
H
)?
(?:
(?P<minutes>
[
0
-
9
\.
]
+
)
M
)?
(?:
(?P<seconds>
[
0
-
9
\.
]
+
)
S
)?
)?
$
/
gm
Open regex in editor
Description
no description available
Submitted by
Jem North
-
7 years ago