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...
1
JHP (Javascript 'hypertext' preprocessor) include string
Python
Used by ktek-project-manager, ktek jhp library coming soon to github
Submitted by
ionbladez
-
9 years ago
1
kasper-py-regexp for agent
Python
no description available
Submitted by
reza-ad
-
9 years ago
1
kll
PCRE (PHP <7.3)
jkl
Submitted by
jkl
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Match mongo _id in JSON mongodb dump
PCRE (PHP <7.3)
no description available
Submitted by
Josh Kopecek
-
9 years ago
1
DUI_ELSalvador
PCRE (PHP <7.3)
Documento Unico de Identidad de El Salvador
Submitted by
Roger
-
9 years ago
1
RNP
ECMAScript (JavaScript)
no description available
Submitted by
KSrGEAR
-
9 years ago
1
Change Extension in File Name
ECMAScript (JavaScript)
Changes extension in a file name.
Submitted by
Mi-L@
-
9 years ago
1
BEM for CSS
PCRE (PHP <7.3)
no description available
Submitted by
giacomozinetti
-
9 years ago
1
pattkk
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
check youtube url
PCRE (PHP <7.3)
no description available
Submitted by
Fernando
-
9 years ago
1
CSPTGF response
PCRE (PHP <7.3)
Get Talk Group Folder response regex
Submitted by
anonymous
-
9 years ago
1
наличие личного авто
Python
no description available
Submitted by
anonymous
-
9 years ago
1
наличие личного авто false reg
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Validate US Telephone Numbers
ECMAScript (JavaScript)
no description available
Submitted by
Davide Vozzi
-
9 years ago
1
Have one word and don't have another
PCRE (PHP <7.3)
Search for /cat/ in the string where don't have /prod/ itself.
Submitted by
Douglas Ianitsky
-
9 years ago
1
Get src and srcset image attributes, and other attributes
PCRE (PHP <7.3)
Not depending on the src or srcset order, but some matches can be empty, depending on the img syntax.
Submitted by
Geoffrey Crofte & Sébastien Decamme
-
9 years ago
1
get user authentication
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
SEO RegExp
Python
SEO RegExp
Submitted by
Jay Patel
-
9 years ago
1
Czech phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
658
659
660
661
662
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^\s
*
(
[
\s\S
]
+
?
)
(?:
\s
+
as
\s
+
(
[
\s\S
]
+
?
)
)?
(?:
\s
+
group
\s
+
by
\s
+
(
[
\s\S
]
+
?
)
)?
(?:
\s
+
disable
\s
+
when
\s
+
(
[
\s\S
]
+
?
)
)?
\s
+
for
\s
+
(?:
(
[
\$
\w
]
[
\$
\w
]
*
)
|
(?:
\(
\s
*
(
[
\$
\w
]
[
\$
\w
]
*
)
\s
*
,
\s
*
(
[
\$
\w
]
[
\$
\w
]
*
)
\s
*
\)
)
)
\s
+
in
\s
+
(
[
\s\S
]
+
?
)
(?:
\s
+
track
\s
+
by
\s
+
(
[
\s\S
]
+
?
)
)?
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago