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...
1
bits to true in mssql
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
comments in file
ECMAScript (JavaScript)
detect common one line comments in file
Submitted by
ralph
-
8 years ago
1
Sql where in list
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
iOS Retain Cycles
PCRE (PHP <7.3)
no description available
Submitted by
Iulian Onofrei
-
8 years ago
1
privatmarket b2c
ECMAScript (JavaScript)
Detect b2c
Submitted by
waSRull
-
8 years ago
1
right operand of parametirezed sql like expressions for sybase
PCRE (PHP <7.3)
no description available
Submitted by
robessog
-
8 years ago
1
Validate phones
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
FR to Email message file
ECMAScript (JavaScript)
change FR to fit email message file template
Submitted by
M
-
8 years ago
1
MDD_w_ShipTo_&DocumentNo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Email Validation
ECMAScript (JavaScript)
Allow TLDs with 2 or more characters
Submitted by
anonymous
-
8 years ago
0
domains
Python
no description available
Submitted by
anonymous
-
8 years ago
1
w/ NTSTatus: NT_STATUS_ACCESS_DENIED
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Or regex field
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Parse action
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Priority Levels (Agile Method/ Scrum Workflows)
PCRE (PHP <7.3)
This is to detect priorty levels for Agile Method/ Scrum workflows. (!1) = Priority: Low (!2) = Priority: Medium (!3) = Priority: High (!4) = Priority: Critical
Submitted by
oneezy
-
8 years ago
1
MDD_new_regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Selects multi-line C comments
PCRE (PHP <7.3)
no description available
Submitted by
BumbleBritches57
-
8 years ago
1
mobile_number
ECMAScript (JavaScript)
this regex test string for match mobile phone numbers
Submitted by
hamid javadi - javadi.business@yahoo.com
-
8 years ago
1
regex to match html attribute with/without equal to and values
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
REGEX TO MATCH HTML ATTRIBUTE WITH/WITHOUT EQUAL TO AND VALUES
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
...
250
251
252
253
254
...
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)