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...
1
For Version Number
PCRE (PHP <7.3)
Validation for version numbers like 33.3.33
Submitted by
Gokul
-
9 years ago
1
parse range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
ipv6 validation
PCRE (PHP <7.3)
Matches all IPv6 Addresses (without Port) fe80::21d8:f50:c295:c4be 2001:cdba:0000:0000:0000:0000:3257:9652 2001:cdba:0:0:0:0:3257:9652 2001:cdba::3257:9652 2001:cdba::1222...
Submitted by
Aleksandar Trkulja
-
9 years ago
1
ICAO Airline from flight number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
square brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
id number
PCRE (PHP <7.3)
find first letter that matches c or e then ensure remaining line is a digit
Submitted by
anonymous
-
9 years ago
1
Timecode (25fps)
PCRE (PHP <7.3)
Detects all valid 25 fps Timecode in HH:MM:SS:FF format in teh range 00:00:00:00 - 23:59:59:24 range.
Submitted by
anonymous
-
9 years ago
1
4c
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Python
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Cap named group in urls
PCRE (PHP <7.3)
no description available
Submitted by
SPeed
-
9 years ago
1
Shortcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
qqq
PCRE (PHP <7.3)
qqqq
Submitted by
anonymous
-
9 years ago
1
stepic python extract domain
Python
no description available
Submitted by
anonymous
-
9 years ago
1
First of tags define
ECMAScript (JavaScript)
Submitted by
regedit
-
9 years ago
1
ps-Aux Named Token capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
EIN Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URL
PCRE (PHP <7.3)
separate all parts of an url
Submitted by
Kai
-
9 years ago
1
Dates
PCRE (PHP <7.3)
Date for spanish calendar
Submitted by
gornovah
-
9 years ago
1
The very important regex for every projects
ECMAScript (JavaScript)
This regex can ALL!
Submitted by
YURMATH ER
-
9 years ago
1
Match Hashtags
PCRE (PHP <7.3)
Matches hashtags withing string
Submitted by
Melik Karapetyan
-
9 years ago
1
...
171
172
173
174
175
...
901
Community Library Entry
0
Regular Expression
Python
r"
^
(?:
(?P<protocol>
.
+
)
://
)?
(?:
(?P<sub>
.
+
)
\.
)?
(?P<domain>
.
+
)
\.
(?P<tld>
[
a
-
zA
-
Z
]
+
)
(?P<path>
/
(?:
(?:
.
*
?
)
(?:
(?=
\?
)
?
)
)?
)?
(?P<query>
\?
.
+
?
)?
$
"
m
Open regex in editor
Description
pain
Submitted by
anonymous
-
3 years ago