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,040 community submitted regex patterns...
0
Email Last Hop v6
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Match purified dust
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Match simple dusts except for (bauxite, iridium)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Chess game PGN to human friendly
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex Poesia
PCRE (PHP <7.3)
Encontra as rimas buscadas na poesia de Camões
Submitted by
anonymous
-
6 years ago
0
Regex de Data
PCRE (PHP <7.3)
Regex que verifica se uma data é válida segundo as regras do calendário gregoriano
Submitted by
anonymous
-
6 years ago
0
SWGOH calendar extract from ocr text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
extract names from SKYPE /showmembers result
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Match actual IPv4 addresses and 3306 port
Python
no description available
Submitted by
anonymous
-
6 years ago
0
CDL Lab 3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
CDL Lab 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex CPF
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Universal gds parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
html link
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Extract milliseconds from output
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Sql Parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Match all email entries in a data set
PCRE (PHP <7.3)
\b[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}\b
Submitted by
anonymous
-
6 years ago
0
YouTube referral data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
中文字
ECMAScript (JavaScript)
只包含中文字,不包含标点符号
Submitted by
anonymous
-
6 years ago
0
中文字符
ECMAScript (JavaScript)
只包含中文字,包含标点符号
Submitted by
anonymous
-
6 years ago
1
...
529
530
531
532
533
...
902
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)