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 5,860 community submitted regex patterns...
0
01 Jan 2022 Mon 01:02:03
.NET 7.0 (C#)
01 Jan 2022 Mon 01:02:03
Submitted by
anonymous
-
2 years ago
0
USD
.NET 7.0 (C#)
USD
Submitted by
anonymous
-
2 years ago
0
Minimum 10 herhangi dijit
.NET 7.0 (C#)
Minimum 10 herhangi dijit
Submitted by
anonymous
-
2 years ago
0
15.02.2022 15:00:00
.NET 7.0 (C#)
15.02.2022 15:00:00
Submitted by
anonymous
-
2 years ago
0
chilean plate
ECMAScript (JavaScript)
A regex to parse Chilean automobile plates. It would use WWDDDD or WWWWDD
Submitted by
Dennis Tobar
-
2 years ago
0
Rem评论正则
Python
(?i)Rem\s+((\[(?i)(s|none|success|inconclusive|failed|error)\]\s+)|)(\".\"|\'.\')
Submitted by
xiong
-
2 years ago
0
MAC Address Python
Python
Checking for MAC address matching in python
Submitted by
dhakavikaskumar
-
2 years ago
0
HTML Link
Python
Get HTML Link
Submitted by
anonymous
-
2 years ago
0
Support post-livraison
ECMAScript (JavaScript)
Detect support post-livraison
Submitted by
anonymous
-
2 years ago
0
My Regex Expression
Python
I'm a new learner and I try to learn in coding & data analyst in web. And also need some financial support as well. I thank to you all when I get chance to learn from you all.
Submitted by
anonymous
-
2 years ago
0
VTT and SRT parser
ECMAScript (JavaScript)
(?:^|(? ([0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})(.*?)((?:\d+\n)?(?=[0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})|$)
Submitted by
anonymous
-
2 years ago
0
OmegaT
Java 8
regular expressions used in OmegaT
Submitted by
anonymous
-
2 years ago
0
Different date format and label them accordingly
ECMAScript (JavaScript)
Classify \d\d \/ \d\d \/ \d{4} \w* \d\d, \d{4} \d{4}-\d\d-\d\d and label them
Submitted by
anonymous
-
2 years ago
0
cuda with gpu-number regex
Python
Used for torch.device handling, so 'cuda' and 'cuda:0' both valid and can be used
Submitted by
Ilya Lubenets
-
2 years ago
(Last modified 2 years ago)
0
Typescript Types
ECMAScript (JavaScript)
get all typescript types, as well as imports and exports
Submitted by
snuffyDev
-
2 years ago
0
Content inside string
Python
Will match any character inside " or '
Submitted by
anonymous
-
2 years ago
0
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
2 years ago
0
匹配不以 http 开头的图片
ECMAScript (JavaScript)
匹配不以 http 开头的图片
Submitted by
anonymous
-
2 years ago
0
正则匹配markdown中的图片 但排除 http 开头的地址
ECMAScript (JavaScript)
正则匹配markdown中的图片 但排除 http 开头的地址
Submitted by
anonymous
-
2 years ago
0
non capturing (a|b|c)가 그룹으로 지정되지 않게 함.
Python
\[[0-9]{4}-[0-9]{2}-[0-9]{2}\](\[(?:debug|warning|error)\]).*
Submitted by
anonymous
-
2 years ago
1
...
280
281
282
283
284
...
293
Community Library Entry
-1
Regular Expression
ECMAScript (JavaScript)
/
(?<=
(?:
^
|
[^
\\
]
)
(?:
\\\\
)*
)
(
(
[
`'"
]
)
(
.
*
?
(?:
[^
\\
]
(
\\\\
)*
|
$
)
(
\2
|
$
)
)
)
/
g
Open regex in editor
Description
匹配带引号内容,被引号包含的内容
结构(
$x
)
((前引号)(内容)(后引号))
整体内容(包含引号)
前引号
内容
后引号
默认匹配
[`'"]
引号,可以在表达式的匹配2中更改
消除转义字符对引号的影响
单个有效引号会直接匹配至末尾,若不想匹配至末尾可以移除表达式尾部的
$
Submitted by
诶!你的尾巴掉了
-
a year ago
(Last modified a year ago)