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 11,440 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
-
2 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
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 port proxy scrap
PCRE (PHP <7.3)
1.0.170.50:80 1.1.189.58:8080 1.1.220.100:8080 1.2.252.65:8080 1.20.166.142:8080 1.32.59.217:47045...
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
Group first letter, Group Remaining letters, Group White space
PCRE (PHP <7.3)
first groups all white space $1 second groups all first letter of every word except capitals third groups remaining letters
Submitted by
slimelord
-
2 years ago
1
Only if before
PCRE (PHP <7.3)
Only if needle is before target
Submitted by
anonymous
-
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
Secret HTML Comment
PCRE (PHP <7.3)
This REGEX can be used for, e.g., PHP scripts to filter out comments that are only important for development.
Submitted by
anonymous
-
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
URL Validator (HTTP and HTTPS)
PCRE (PHP <7.3)
Validate one URL HTTP and HTTPS
Submitted by
Joaquim
-
2 years ago
1
triple / double bottles
Python
triple / double bottles
Submitted by
anonymous
-
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
...
522
523
524
525
526
...
572
Community Library Entry
3
Regular Expression
.NET 7.0 (C#)
@"
\w
+
\(
[^
()
]
*
(
(
(?'parenthesesPair'
\(
)
[^
()
]
*
)+
(
(?'-parenthesesPair'
\)
)
[^
()
]
*
)+
)*
(?(parenthesesPair)
(?!
)
)
\)
"
gm
Open regex in editor
Description
Match any layer bracket pair
Submitted by
Yakumo Yukari
-
3 years ago