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...
1
IP address without local
.NET 7.0 (C#)
Matches IP addresses excluding local addresses
Submitted by
pvl_zh
-
4 months ago
1
.NET CSV parser
.NET 7.0 (C#)
Parses CSV files using comma (,) as delimiter and double quote (") as quoted-field tag. Features: Respects empty fields, including at the beginning and at the end of the line Respects line breaks in quoted fields
Submitted by
kevinhp
-
4 months ago
1
Factorization: Zero, Unit, Primes, or Composite?
.NET 7.0 (C#)
Description Inspects lines that contain only a character, let's say c, repeated n times. The name of the matching groups will tell you if n is 0, the unit 1, a prime number, or a composite number. Alternative ...
Submitted by
kevinhp
-
a month ago
1
Paragraph Delimiter Counter (Unicode-Aware)
.NET 7.0 (C#)
Finds all paragraphs in the input text, where a paragraph is defined as any occurrence of a non-whitespace character immediately following any of the following and any other preceding whitespace: 2 or more consecutive CRLF sequences 2 or more consecutive CR characters 2 or more consecutive LF cha...
Submitted by
dodexahedron
-
6 days ago
(Last modified 6 days 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
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)
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
-
4 months ago
(Last modified 4 months ago)
3
Match any layer bracket pair (.NET)
.NET 7.0 (C#)
Match any layer bracket pair
Submitted by
Yakumo Yukari
-
3 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
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)
1
...
4
5
6
Community Library Entry
1
Regular Expression
.NET 7.0 (C#)
@"
(?<=
(?!
(
https
*
://
)*
(
(
127
)
|
(
192
\.
168
)
|
(
0
\.
0
\.
0
\.
0
)
)
)
(?:
(?:
https
*
://
)
|
^
)
)
(?:
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
\.
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
\.
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
\.
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
)
(?=
[^
\d\s
]
|
$
)
"
gm
Open regex in editor
Description
Matches IP addresses excluding local addresses
Submitted by
pvl_zh
-
4 months ago