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
STANDARD ASIN V1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
STANDARD ASIN V1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
STANDARD V1 PRIME PRICE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
STANDARD BULLETS V1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
French Phone Number Validation
PCRE (PHP <7.3)
Accept several kind of format, more or less usual. And refuse incorrect formats. Prefix: 0033 / +33 / (0) / 0 Number: collapsed / group by 2 / group by 3 Separator: space / dot / dash
Submitted by
RonanKER
-
6 years ago
0
STANDARD DESCRI V1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
git url
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Phone number regex - area code
ECMAScript (JavaScript)
Capture 3 digit area code from phone number. Only capture valid NANP area code values. Ignore special characters and spaces.
Submitted by
anonymous
-
6 years ago
0
Phone number regex - phone number
ECMAScript (JavaScript)
Capture 10 digit numbers from input with text. Ignore special characters and spaces.
Submitted by
anonymous
-
6 years ago
0
Search website
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Search Date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
gunicorn access log parser
Python
no description available
Submitted by
anonymous
-
6 years ago
0
List of build packages
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
List of builds
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Add DescriptionAttribute
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Multiline comment removal for JS
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Single line comment removal for JS
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Validation Password Alphanumeric with special character (optional)
ECMAScript (JavaScript)
Make validation password must alphanumeric but can add special character
Submitted by
anonymous
-
6 years ago
0
Match html data (data-*) attributes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Beko code
PCRE (PHP <7.3)
no description available
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)