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 9,220 community submitted regex patterns...
0
Toolchange Only
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
seleziona il contenuto di ogni tag a
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
MyCollection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
datetime
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Cpp header method
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Rodne cislo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
psc
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Example HGVS
PCRE (PHP <7.3)
no description available
Submitted by
Mark Routbort
-
7 years ago
0
Пример 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Desigs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
xPlore Input Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
catching/matching phone numbers
PCRE (PHP <7.3)
A simple regex to capture different formats of phone numbers
Submitted by
anonymous
-
7 years ago
0
.cpp method matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
.cpp namespace method matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
.cpp method matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lab
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
WooCommerce & Authorize.Net Transaction ID
PCRE (PHP <7.3)
Pull Authorize.Net Transaction ID from WooCommerce's order_notes
Submitted by
Lorelei
-
7 years ago
0
Liters
PCRE (PHP <7.3)
no description available
Submitted by
Ibon Apanymantel
-
7 years ago
0
Simply find AMD define
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Insert underscore requirement
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
252
253
254
255
256
...
461
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)