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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 13,920 community submitted regex patterns...
1
PHP identifier
PCRE (PHP <7.3)
The official expression used for variable names, class names, etc. From http://www.php.net/manual/en/language.variables.basics.php
Submitted by
anonymous
-
9 years ago
1
lookbehind + lookahead
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ruTorrent RSS filter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
us date format
PCRE (PHP <7.3)
us date format
Submitted by
denis
-
9 years ago
1
Alpha then 7 numbers
PCRE (PHP <7.3)
Alpha then 7 numbers
Submitted by
Jeff Cunningham
-
9 years ago
1
RGBA [0;255]
PCRE (PHP <7.3)
Color RGBA in shape : 255, 255, 255, 255 ',' or ';' are accepted
Submitted by
theBlueBisu
-
9 years ago
1
hurdur
Python
hurdurdurdru
Submitted by
hordor
-
9 years ago
1
nullDateTime
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
GRS50 weight response
PCRE (PHP <7.3)
Matches the meaningful content of a GRS50 scale's weight notification
Submitted by
Ben Leggiero
-
9 years ago
1
search self capture in block
PCRE (PHP <7.3)
in os development such code caused memory leak, [some do:^(){ self.someProperty = value; }]; let's fixed it.
Submitted by
wangchaojs02
-
9 years ago
1
Pokemon nodes
Python
For finding nodes in the network, here for Aipom.
Submitted by
anonymous
-
9 years ago
1
Pokemon move splitter
PCRE (PHP <7.3)
For splitting up moves from breeding.
Submitted by
anonymous
-
9 years ago
1
a
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Trim to newline
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
02
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Desc
PCRE (PHP <7.3)
match /* @Desc("(.)");
Submitted by
anonymous
-
9 years ago
1
Tel
PCRE (PHP <7.3)
Simple tel regex
Submitted by
anonymous
-
9 years ago
1
nathan
PCRE (PHP <7.3)
no description available
Submitted by
nathan
-
9 years ago
1
SN Matcher
PCRE (PHP <7.3)
^([A-E])([A-C])([0-2])(\d)([0-5])(\d)([B])(\d{6})([A-Z0-9]{2})(\d{3})$
Submitted by
anonymous
-
9 years ago
1
...
88
89
90
91
92
...
696
html tags with attributes
0
Regular Expression
Python
r'''
<
(
[
a
-
z
]
+
#tag
name
(
#attributes
begin
\s
+
[
a
-
z
]
+
\s
*
=
#attribute
name
\s
*
(
"
(
[^
"
\\
]
|
\\
.
)*
"
|
\'
(
[^
\'\\
]
|
\\
.
)*
\'
)
#attribute
value
is
a
quoted
string
)*
\s
*
#attributes
end
/
?
#can
close
single
tag
|
#or
/
[
a
-
z
]
+
)
#closing
tag
>
'''
gix
Open regex in editor
Description
html tags with attributes
Submitted by
anonymous
-
5 years ago