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,820 community submitted regex patterns...
1
UNC Path Component Validation - Sharename
.NET 7.0 (C#)
There are specific requirements for the different components of a UNC path. While it's possible to try and validate the entire UNC path in one go, you quite often end up needing to break the path down anyway unless simply handing it off to some other library (in which case they should be providing v...
Submitted by
thejamesdecker
-
a year ago
1
URL Validator (HTTP and HTTPS)
PCRE (PHP <7.3)
Validate one URL HTTP and HTTPS
Submitted by
Joaquim
-
a year ago
1
triple / double bottles
Python
triple / double bottles
Submitted by
anonymous
-
a year ago
1
Replace ^ with Math.pow function. Not made to work with braces.
Java 8
Replaces ^ with Math.pow function call. This assumes all braces have been combined first. If you need help with the combination, I got you—try this Python algorithm: def evaluate_braces(expr): """Recursively evaluate expressions within braces""" Check if expression contains braces if '(' in...
Submitted by
Glitchii - https://github.com/Glitchii
-
a year ago
(Last modified a year ago)
1
Лямбды для OneScript
.NET 7.0 (C#)
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
a year ago
1
Regex Card Name - Custom
.NET 7.0 (C#)
custom validation for card name with custom validation. only allow these characters Alphanumeric (A-Z a-z0-9) Special Characters (#&+()/)
Submitted by
anonymous
-
a year ago
1
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
a year ago
1
json value extract
Java 8
json value extract
Submitted by
anonymous
-
a year ago
1
Check Windows file name
.NET 7.0 (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
a year ago
1
golang re2 negative lookahead
Golang
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex. This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by
misha
-
a year ago
1
Türkiye Araç Plaka Regexi - Türkiye Car Plate Regex
Java 8
Gist link for Java : https://gist.github.com/Gencturk-m/9962ce1e1dcf4dd9307062e34b023183 Aşağıdaki yapıdaki plakaları kabul eder: "01-81 X 9999", "01-81 X 99999"...
Submitted by
Melih Gençtürk - https://github.com/gencturk-m
-
a year ago
1
date time validation
.NET 7.0 (C#)
Validation of the date of time, taking into account the high year in the format date.ToString("yyMMdd-hh_mm_ss").
Submitted by
Oleksii Serikov (alex@neochrom.biz)
-
a year ago
1
Authelia regex path rules
Golang
Testing Authelia subdomain / path rules. You can read more at the Authelia Docs By default, this regex101 page is shown a test for a generic API path domain: "some-sub.drpranavmishra.com" resources:...
Submitted by
Pranav Mishra
-
a year ago
(Last modified a year ago)
1
all instagram regex
PCRE (PHP <7.3)
(?:https?:\/\/)?(?:www.)?instagram.com\/?([a-zA-Z0-9\.\\-]+)?\/([p]+)?([reel]+)?([tv]+)?([stories]+)?\/([a-zA-Z0-9\-\\.]+)\/?([0-9]+)?
Submitted by
threedot
-
a year ago
1
Phrase enclosed case insensitive
.NET 7.0 (C#)
Match everything enclosed, say, a phrase, with case insensitive.
Submitted by
kosalanuwan
-
a year ago
1
ENEL T5 Mono
PCRE (PHP <7.3)
T
Submitted by
anonymous
-
a year ago
1
extract <*n or <n where n is a number
Golang
see https://stackoverflow.com/questions/76228402/regex-to-extract-n-where-n-is-digit
Submitted by
code_monk
-
a year ago
1
Home
Golang
Dj dus er geen je een je aan je enige eerst een he we er
Submitted by
Webmaster
-
a year ago
1
Get <NIC>
Python
Get NICs from string
Submitted by
anonymous
-
a year ago
1
string substitution in bash behaving differently from PCRE(PHP<7.3>
PCRE (PHP <7.3)
question about bash not returning expected results, the same result as this saved regex returns here
Submitted by
anonymous
-
a year ago
1
...
556
557
558
559
560
...
591
Get email info
2
Regular Expression
PCRE (PHP <7.3)
/
^
(?<User>
[
_a
-
z0
-
9-
]
+
(
\.
[
_a
-
z0
-
9-
]
+
(?<GmailTag>
\+
[
_a
-
z0
-
9-
]
+
){1,1}
)*
)
@
(?<Host>
[
a
-
z0
-
9-
]
+
(
\.
[
a
-
z0
-
9-
]
+
)*
\.
[
a
-
z
]
{2,4}
)
$
/
i
Open regex in editor
Description
Get Gmail tag, user and domain of an email address
Submitted by
Matías Pizarro González
-
9 years ago