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,020 community submitted regex patterns...
2
matching regex and boolean patterns in a string
PCRE (PHP <7.3)
no description available
Submitted by
haris
-
9 years ago
2
Match a specific CSV field.
PCRE (PHP <7.3)
Fields terminated by ';' even if the fields are surrounded by " does not accept newlines. Change the central qualifier to get the column. if you want the Xth field write X-1 and use the 3° mathing group OR write X and use the 2° match.
Submitted by
anonymous
-
9 years ago
2
kasd; fk.!@#$%^&*()*()%^&*()_
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
mystem
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
thy_reservation_flights
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
thy_reservations_names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
sun_reservation_flights
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
sun-reservation-2-flights
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Removes script tags
ECMAScript (JavaScript)
no description available
Submitted by
ghs
-
9 years ago
2
<a href=" replacer
PCRE (PHP <7.3)
to put # instead of url
Submitted by
mrBakop
-
9 years ago
2
Href parse
ECMAScript (JavaScript)
matches href, title, innerhtml
Submitted by
chrysls
-
9 years ago
2
Regex for Chemical Compounds
Python
no description available
Submitted by
Haiming Zhao
-
9 years ago
2
Remove XSS
ECMAScript (JavaScript)
no description available
Submitted by
Harish Thakur
-
9 years ago
2
DateWithDay
PCRE (PHP <7.3)
no description available
Submitted by
BobD
-
9 years ago
2
String Interpolation
ECMAScript (JavaScript)
String Interpolation. Works Like Angular
Submitted by
Aykut Alpgiray Ateş
-
9 years ago
2
SSN
ECMAScript (JavaScript)
allow nine digits only
Submitted by
anonymous
-
9 years ago
2
Bible verse, biblical string in text
ECMAScript (JavaScript)
Matches biblical strings in text. Two capture groups are used - one for the books name and another for the passages of the same book. RegEx is long because it is strict!!! If you want to also match books names without specified chapter and verses use: /((?:[1234]\s?)?[a-zа-я]+)(\s?\d+(?::(?:\d+[—–-...
Submitted by
Desislavsd
-
9 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
-
9 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
-
9 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
-
9 years ago
1
...
869
870
871
872
873
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
[^
_
]
+
)
_
(
[^
_
]
+
)
(
_
(
[^
_
]
+
)
)?
_WITH_
(
[^
_
]
+
)
(
_
(
[^
_
]
+
)
)?
_
(
[^
_
]
+
)
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago