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
odd 1's
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
VonDuprin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
wiki arabic - Harran Al-Mari
ECMAScript (JavaScript)
Hello . github /harran55
Submitted by
anonymous
-
4 years ago
0
Phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
key-value expresssion
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
K8s Logs hlt_env
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Original linkedin regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
search range in email
PCRE (PHP <7.3)
search range in email for bulk uploaded candidates
Submitted by
anonymous
-
4 years ago
0
חיפוש סוגריים כולל סוגריים בתוך סוגריים
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
IT naming - convention
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
POC Mobile Detection
PCRE (PHP <7.3)
const regex = /(?:Mobile|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera\sMobi)/gm; const str = `Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0 Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile...
Submitted by
anonymous
-
4 years ago
0
POC Mobile Detection
ECMAScript (JavaScript)
const regex = /(?:Mobile|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera\sMobi)/gm; const str = `Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0 Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile...
Submitted by
anonymous
-
4 years ago
0
POC Mobile Detection
Golang
const regex = /(?:Mobile|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera\sMobi)/gm; const str = `Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0 Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile...
Submitted by
anonymous
-
4 years ago
0
ObjectName with spaces allowed
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Replace shortcode with <a>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
mylibrary
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Moneda con string (Mas estricta) V2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
NumberOnlyDate_regex
Python
YYYYMMDD YYYY-MM-DD YYYY.MM.DD YYYY/MM/DD YYYY-M-D YYYY.M.D...
Submitted by
anonymous
-
4 years ago
0
Match string literals and any other character outside string
PCRE (PHP <7.3)
This Regular expression is applicable to all string literals. If we want to match character outside those strings, then just need to add that character in rest of the groups.
Submitted by
anonymous
-
4 years ago
1
...
727
728
729
730
731
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
(
((
0
[
1
-
9
]
)|
(
1
\d
)|
(
2
[
0
-
8
]
))
\/
((
0
[
1
-
9
]
)|
(
1
[
0
-
2
]
))
)
|
(
(
31
\/
((
0
[
13578
]
)|
(
1
[
02
]
)))
|
((
29
|
30
)
\/
((
0
[
1,3
-
9
]
)|
(
1
[
0
-
2
]
)))
)
)
\/
(
\d
{4}
)
)
|
(
(
29
\/
02
\/
(
\d
{2}
)
(
(
[
02468
]
[
048
]
)
|
(
[
13579
]
[
26
]
)
)
)
)
$
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago