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 11,800 community submitted regex patterns...
2
extract hostname
PCRE (PHP <7.3)
extracts hostname from url
Submitted by
Kristine Poghosyan
-
8 years ago
1
replace divs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
extension libre office
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Observatorio do Trabalho
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Logix Designer tag operand
PCRE (PHP <7.3)
Locates valid Logix Designer tag operands
Submitted by
anonymous
-
8 years ago
2
FEN Regex
PCRE (PHP <7.3)
This will match an FEN string (https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation). It is not strict in having each rank separated by a '\' character, although it is strict in the order of characters for the Castling section. Anything not following the order of KQkq in the case where cas...
Submitted by
NazarioJL
-
8 years ago
2
Shortcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
matching regex and boolean patterns in a string
PCRE (PHP <7.3)
no description available
Submitted by
haris
-
8 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
-
8 years ago
0
GUID
PCRE (PHP <7.3)
GUID Regex
Submitted by
Dhruval Darji
-
8 years ago
2
mystem
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
thy_reservation_flights
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
thy_reservations_names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
file name without extension
PCRE (PHP <7.3)
no description available
Submitted by
sl
-
8 years ago
2
sun_reservation_flights
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
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
1
Isolate string in double or single quotes
PCRE (PHP <7.3)
Isolate strings inside double or single quotes
Submitted by
garsax
-
8 years ago
1
10-digit phone number with hyphens
PCRE (PHP <7.3)
Such as 333-333-1234. Does not test for valid sequences of digits. E.g. 000-000-0000 would pass.
Submitted by
anonymous
-
8 years ago
2
DateWithDay
PCRE (PHP <7.3)
no description available
Submitted by
BobD
-
8 years ago
1
...
34
35
36
37
38
...
590
Title (Subtitle)
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
[
\-
\w
]
+
)
\(
(
[
\-
\w
]
+
)
\)
/
gm
Open regex in editor
Description
Parse out a title and subtitle
Submitted by
anonymous
-
2 years ago