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 120 community submitted regex patterns...
4
C# Regex Extract/Match Nested HTML Elements/Tags
.NET 7.0 (C#)
With this C# regex, you can easily match/Parse Nested HTML tags. Example input: ...
Submitted by
w4po
-
3 years ago
(Last modified a year ago)
3
Match any layer bracket pair (.NET)
.NET 7.0 (C#)
Match any layer bracket pair
Submitted by
Yakumo Yukari
-
3 years ago
2
Mime type parser
.NET 7.0 (C#)
A "simple" regex to parse mime types. Handles all commonly occurring parts of a mime type string such as: Type Subtype Subtype's with an extra extension (e.g. svg+xml) (Optional input) Multiple parameters (Optional input)...
Submitted by
Vespion
-
2 years ago
(Last modified 2 years ago)
3
Caltrans EA validation with optional XX-XXXXXX entry and C##-#????#
.NET 7.0 (C#)
Checks validity of an EA number first two digits 01-12 followed by hyphen then a number from 0-4 and then 4 numbers or uppercase letters and ending in a 1 or 4 for example "05-1J7601". Adding a capital C to the beginning is also accepted "C05-1J7601", along with the entry of 2 X's hyphen and 6 X's ...
Submitted by
RDJ@Ct
-
2 years ago
(Last modified 2 years ago)
3
Placeholder resolving
.NET 7.0 (C#)
.Net regular expression for resolving placeholders in the format of ${rewriter(multilevel:key)?fallback} (+ variations)
Submitted by
anonymous
-
a year ago
2
Zoom links, only with passwords
.NET 7.0 (C#)
Group 1 will have meeting id, group 2 will have password
Submitted by
anonymous
-
2 years ago
2
Replace sub-strings in string
.NET 7.0 (C#)
Replace sub-strings in string
Submitted by
anonymous
-
2 years ago
2
Phone number for all countries
.NET 7.0 (C#)
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
2 years ago
2
Get ip address (only ipv4) Validator
.NET 7.0 (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
2 years ago
(Last modified 2 years ago)
2
Aus Mobile number
.NET 7.0 (C#)
validates against multiple common formats
Submitted by
anonymous
-
2 years ago
2
URL Regex
.NET 7.0 (C#)
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
a year ago
(Last modified a year ago)
2
Command line parser
.NET 7.0 (C#)
Supports parameters such as keys and values, also parameters enclosed in quotes.
Submitted by
Pavel Bashkardin
-
3 months ago
(Last modified 3 months ago)
1
Chercher un Prénom ou un Nom
.NET 7.0 (C#)
no description available
Submitted by
anonymous
-
8 years ago
(Last modified a year ago)
1
Markdown link
.NET 7.0 (C#)
Regex for parsing markdown link. Named group "text", "url" and "alt.
Submitted by
anonymous
-
2 years ago
1
ISO 8601:2004E Duration
.NET 7.0 (C#)
Regex for validating ISO 8601:2004E durations, complete with named capture groups.
Submitted by
Sakura Akeno Isayeki
-
2 years ago
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
-
2 years ago
1
Лямбды для OneScript
.NET 7.0 (C#)
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
2 years 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
-
2 years ago
1
Check Windows file name
.NET 7.0 (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
2 years 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)
-
2 years ago
1
2
3
...
6
Community Library Entry
15
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
0
-
9
]
{4}
?
[
0
-
9
]
$
|
^
[
0
-
9
]
{4}
?
[
0
-
9
]
-
[
0
-
9
]
{4}
$
)
/
gm
Open regex in editor
Description
no description available
Submitted by
jay johnson
-
11 years ago