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
PASSPORT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Extract IIS Site Name and ID From Web-Binding
PCRE (PHP <7.3)
Extract Site Name and ID from the Web-binding information in the ItemXPath field
Submitted by
anonymous
-
5 years ago
0
If x; => if (x){
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Global => public static
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Field => public
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
email
Python
no description available
Submitted by
anonymous
-
5 years ago
0
if (x=x) => if (x==x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
IPv4 and MAC addresses
PCRE (PHP <7.3)
Match tokens that are either IPv4 addresses or MAC addresses (three formats)
Submitted by
anonymous
-
5 years ago
0
Read Music Directory
PCRE (PHP <7.3)
Can be used to read a file with a list of songs or read a directory of songs for the artist, song title, and the songs format. Assuming there are named in that exact order (i.e. Artist - Title.format) Example: demon.devin - deception.mp3
Submitted by
anonymous
-
5 years ago
0
Autogen PEH Headend
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
VSCode DecorationRenderOptions docs formatting
PCRE (PHP <7.3)
k
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func => BM.func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
class(x) => (class)x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func => tDraw.func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
block end => } // block end
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Local x => int x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
322
323
324
325
326
...
900
Community Library Entry
0
Regular Expression
Python
r"
(?P<EngDate>
[
a
-
zA
-
Z
]
+
[
\s
\.
]
)?
(?P<Date0>
(?:
\d
{1,2}
(?=
[
\s
,./-
]
)
|
\d
{4}
)
)
(?:
\.
(?=
\
)
)?
(?(2)
,
?
)
年
?
(?P<d_sep>
[
\s
,./-
]
\
?
)?
(?:
(?P<Date1>
[^
\W\d
]
+
|
\d
{1,2}
)
(?(3)
\.
?
(?P=d_sep)
)
)?
月
?
(?P<Date2>
\d
{4}
|
\d
{1,2}
)?
(?P=d_sep)
?
(?=
[
日T
\s
]
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago