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 9,520 community submitted regex patterns...
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
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
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
<a href=" replacer
PCRE (PHP <7.3)
to put # instead of url
Submitted by
mrBakop
-
9 years ago
2
DateWithDay
PCRE (PHP <7.3)
no description available
Submitted by
BobD
-
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
2
bitcoin 1.00000000 minimum
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
MONTHDAY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
hex number check
PCRE (PHP <7.3)
check if a string is a hex number
Submitted by
anonymous
-
9 years ago
2
Numéro de sécurité sociale (France)
PCRE (PHP <7.3)
no description available
Submitted by
Anas
-
9 years ago
2
get all between 2 lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
extract node values from xml string
PCRE (PHP <7.3)
extract node values from xml string
Submitted by
anonymous
-
9 years ago
1
...
15
16
17
18
19
...
476
Community Library Entry
3
Regular Expression
Golang
`
^
(?P<scheme>
[^
:
\/
?#
]
+
)
:
(?:
\/\/
)?
(?:
(?:
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@
\/
?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(?:
\?
(?P<query>
[^
#
]
*
)
)?
(?:
#
(?P<fragment>
.
*
)
)?
`
gm
Open regex in editor
Description
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago