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,040 community submitted regex patterns...
2
extract hostname
PCRE (PHP <7.3)
extracts hostname from url
Submitted by
Kristine Poghosyan
-
9 years ago
1
replace divs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
problem for homework
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
extension libre office
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Observatorio do Trabalho
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Logix Designer tag operand
PCRE (PHP <7.3)
Locates valid Logix Designer tag operands
Submitted by
anonymous
-
9 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
-
9 years ago
2
Shortcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
matching regex and boolean patterns in a string
PCRE (PHP <7.3)
no description available
Submitted by
haris
-
9 years ago
1
MAC address capturing
Python
Captures MAC addressess in any format: aa bb cc dd ee ff aa-bb-cc-dd-ee-ff aa:bb:cc:dd:ee:ff aabb.ccdd.eeff aabbccddeeff
Submitted by
Gilian
-
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
0
GUID
PCRE (PHP <7.3)
GUID Regex
Submitted by
Dhruval Darji
-
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
1
file name without extension
PCRE (PHP <7.3)
no description available
Submitted by
sl
-
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
1
Brazilian Phone number
ECMAScript (JavaScript)
With optional 9 digit
Submitted by
Matheus Gambati
-
9 years ago
1
...
60
61
62
63
64
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\d
{4}
-
\d
{2}
-
\d
{2}
/
gm
Open regex in editor
Description
find date format 2023-10-04
\d{4}-\d{2}-\d{2}
Submitted by
joe hu
-
2 years ago