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 2,640 community submitted regex patterns...
1
HTML Regex
Python
HTML Pattern Recursively use this pattern to match HTML content. This pattern will match Hello World and return a groupdict of tag, body and attribute data. Then you can use this pattern on the body to parse nested HTML tags as well.
Submitted by
GrandMoff100
-
3 years ago
1
Números decimales y exponenciales aislados
Python
Hace coincidir números decimales y exponenciales aislados para el sistema de numeración decimal. 22e22 22e+22 +22e22 +22e+22 22.22 22. .22 22.e22 22.e+22 22.22e22 22.22e+22 .22e22 .22e+22 88e 88e+ e88 e+88 88e88.
Submitted by
Johnny Alonso
-
2 years ago
(Last modified 2 years ago)
1
telephone_founder
Python
with obfuscation
Submitted by
anonymous
-
2 years 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
nginx access regex loki
Golang
nginx access log regex
Submitted by
Lethisa Putri
-
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
IP Address
Java 8
(^([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3})$)
Submitted by
anonymous
-
2 years ago
1
1
Golang
11
Submitted by
anonymous
-
2 years ago
1
surnames
Python
italian uppercase surnames
Submitted by
anonymous
-
2 years ago
1
SGR ANSI escape sequences
Python
Find all SGR-type ANSI escape sequences
Submitted by
delameter
-
2 years ago
1
Only letters, accents and space
Python
Regex that catches everything that is not text (including emotes)
Submitted by
https://www.linkedin.com/in/devfabriciors/
-
2 years ago
1
phone number middle number parsing
Java 8
middle number parsing regex
Submitted by
anonymous
-
2 years ago
1
Get project name from git url
Golang
Used by Zarf to obtain the name of a repository when given a git URL.
Submitted by
Jonathan Perry
-
2 years ago
1
AsciiDoc delimited block example
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
2 years ago
(Last modified 2 years ago)
1
Conventional Commits RegEx
Python
This RegEx can be used to check whether a string (usually a commit message) matches the structure specified in the conventional commits specification and it allows to retrieve the sections of the structure via. named groups. The groups are the following: (? means, that this can be empty/nullable) ...
Submitted by
mccoderpy
-
2 years ago
1
IPv4
Python
| Regex | Number | | :----------: | :-----------: | | 1?[1-9]?\d | 0-99, 110-199 | | 12\d | 100-149, 200-249 | | 25[0-5] | 250-255 | ...
Submitted by
MicroMicrocosm
-
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
triple / double bottles
Python
triple / double bottles
Submitted by
anonymous
-
2 years 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
-
2 years ago
(Last modified 2 years ago)
1
Лямбды для OneScript
.NET 7.0 (C#)
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
2 years ago
1
...
119
120
121
122
123
...
132
Community Library Entry
5
Regular Expression
Python
r"
^.
*
(?=
.
{8,32}
)
(?=
.
*
\d
)
(?=
.
*
[
a
-
z
]
)
(?=
.
*
[
A
-
Z
]
)
(?=
.
*
[
!?@#$%^&*()
\-
+|=}{/:;
"
,'
\]\[
_
\~
<>€£¥•
\\
]
)
.
*
$
"
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago