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 15,360 community submitted regex patterns...
0
fghs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
kjb .
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
PM local link replacer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Parse Sprint Name 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Match either .jpg ot .png or .gif
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
super cool
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
LinuxDirectoryPathValidation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
LinuxFilePathValidation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
KV_base
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
KV_simple
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
KV_simple
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
DEBFileURL validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
FileURLValidation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
(Last modified 4 years ago)
0
NS:Task
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Subpath
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
ValidateMagnetLink
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
ValidateIP4Address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
wip
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
CTS Versioning validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
(Last modified 3 years ago)
0
wip
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
...
632
633
634
635
636
...
768
Community Library Entry
11
Regular Expression
PCRE (PHP <7.3)
@
(?(DEFINE)
(?<next_open_tag>
[^
<
]
*
+
(?i:
<
+
+
[^
<?s
]
[^
<
]
*
|
<
+
+
(?!
\?
php
|
\?
=
|
script
\s
*
language
\s
*
=
\s
*
(
[
\'
"
]
?
)
php
\g{-1}
\s
*
>
)
[^
<
]
*
)*
+
(?i:
<
+
+
(?:
\?
php