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. Click
here
to read more.
Community Patterns
Search among 13,900 community submitted regex patterns...
2
sun-reservation-2-flights
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
<a href=" replacer
PCRE (PHP <7.3)
to put # instead of url
Submitted by
mrBakop
-
8 years ago
2
Regex for Chemical Compounds
Python
no description available
Submitted by
Haiming Zhao
-
8 years ago
2
DateWithDay
PCRE (PHP <7.3)
no description available
Submitted by
BobD
-
8 years ago
2
IPv4 strict
PCRE (PHP <7.3)
Valid: 000.01.249.255 1.199.200.0 0.0.0.0 Invalid:...
Submitted by
MaxusR
-
8 years ago
2
Password Regex
PCRE (PHP <7.3)
Atleast one charector Atleast one number Min 6 and Max 20 Special charectors optional
Submitted by
Bijjala
-
8 years ago
2
csv split, accounting for 'sub-csv' groups inside brackets
PCRE (PHP <7.3)
This came up as a need for splitting a url param into an array ofr stings, where such a string may be a sublist contained within a bracket pair
Submitted by
Martin Renvoize
-
8 years ago
2
desanonimyse
PCRE (PHP <7.3)
no description available
Submitted by
JB Escudié
-
8 years ago
2
MONTHDAY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
hex number check
PCRE (PHP <7.3)
check if a string is a hex number
Submitted by
anonymous
-
8 years ago
2
Numéro de sécurité sociale (France)
PCRE (PHP <7.3)
no description available
Submitted by
Anas
-
8 years ago
2
get all between 2 lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
extract node values from xml string
PCRE (PHP <7.3)
extract node values from xml string
Submitted by
anonymous
-
8 years ago
2
Remove script tags from code
PCRE (PHP <7.3)
Regular expression to remove only the tags from the code. The regular expression only removes the tags, not the JS code inside the tag.
Submitted by
IvenMS
-
8 years ago
2
Positive Ints
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
mikrotik
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Diiff
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
the many john smiths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Complete Machine Readable Passport pattern
PCRE (PHP <7.3)
Regex to identify and split the components of a machine readable passport pattern text
Submitted by
Igor Ferreira
-
8 years ago
2
Separating Server and Domain from FQDN
PCRE (PHP <7.3)
no description available
Submitted by
Awan
-
8 years ago
1
...
674
675
676
677
678
...
695
Find HTML anchor tag <a> without href attribute
0
Regular Expression
PCRE (PHP <7.3)
/
<a
(?=
\s
|
>
)
(?!
(?:
[^
>=
]
|
=
(
[
'"
]
)
(?:
(?!
\1
)
.
)*
\1
)*
?
\s
href=
[
'"
]
)
[^
>
]
*
>
.
*
?
<
\/
a>
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago