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 18,020 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
-
2 years ago
0
Find an SVG constructed in javascript nuxt
ECMAScript (JavaScript)
Find an SVG constructed in javascript nuxt
Submitted by
Ray
-
2 years ago
0
UK Phone Number
ECMAScript (JavaScript)
Check for varied prefixes, followed by a suffix of exactly 9 digits
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
0
GitLab conventional commits
PCRE2 (PHP >=7.3)
conventional commits regex for gitlab
Submitted by
anonymous
-
2 years ago
0
Remove Parentheses
ECMAScript (JavaScript)
Codewars kata 6 kyu , about Regular Expression JavaScript, help meeeh
Submitted by
anonymous
-
2 years ago
0
extract data syslog format
Python
Extract data of syslog.log format
Submitted by
anonymous
-
2 years ago
0
1 to 4095
PCRE2 (PHP >=7.3)
1 to 4095
Submitted by
anonymous
-
2 years ago
0
Remove HTML tags & attributes from text
ECMAScript (JavaScript)
Removes html tags (including attributes) from text
Submitted by
Stino
-
2 years ago
0
link_checks
Python
testing of link checking
Submitted by
anonymous
-
2 years ago
0
Detect Initial and final symbol
PCRE2 (PHP >=7.3)
Detect Initial and final symbol
Submitted by
Neeraj Dhekale
-
2 years ago
(Last modified 2 years ago)
0
匹配两个不连续的::
PCRE2 (PHP >=7.3)
van:not(:hover) var::before
Submitted by
artiely
-
2 years ago
0
Match substring of two matches in either order
PCRE2 (PHP >=7.3)
When you have a block of text and you want to find the shortest substring with one of two matches on either end, in either order.
Submitted by
Chris Barth <chrisjbarth@hotmail.com>
-
2 years ago
0
匹配css变量括号里的值
PCRE2 (PHP >=7.3)
匹配css变量括号里的值
Submitted by
artiely
-
2 years ago
0
匹配css变量
PCRE2 (PHP >=7.3)
匹配css变量
Submitted by
artiely
-
2 years ago
0
Email
ECMAScript (JavaScript)
Email
Submitted by
anonymous
-
2 years ago
1
Match last repetition and remove it
ECMAScript (JavaScript)
Remove the last repetition of a on texts like: a b c d a e f g
Submitted by
Icaruk
-
2 years ago
0
Lookahead/lookbehind DoB
PCRE2 (PHP >=7.3)
DoB with Lookahead and Look behind
Submitted by
Arif
-
2 years ago
0
Comma Separated Email Regex
PCRE2 (PHP >=7.3)
Comma Separated Email Regex
Submitted by
Kahnu
-
2 years ago
0
Cloudfront URL pointing to S3
Python
Public Cloudfront URL that redirects to a S3 file
Submitted by
anonymous
-
2 years ago
1
...
88
89
90
91
92
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
\(
.
*
?
\)
)
(
(
(
[
\w
]
+
)?
\(
)+
)?
/
gi
Open regex in editor
Description
Codewars kata 6 kyu , about Regular Expression JavaScript, help meeeh
Submitted by
anonymous
-
2 years ago