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 17,940 community submitted regex patterns...
1
CSS clas contains
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Valid Schufa Strings
PCRE (PHP <7.3)
All strings(name, surname, street..) which are exeptepted by the Schufa SLIM-2 API (German identity check system)
Submitted by
anonymous
-
8 years ago
1
french firstname
PCRE (PHP <7.3)
find good french firstname single or composed
Submitted by
anonymous
-
8 years ago
1
Teena is here AND you are der (why u said) OR I ll come NOT you say
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
basic date recognition
PCRE (PHP <7.3)
no description available
Submitted by
hanefi
-
8 years ago
1
Moscow Phones Pattern
PCRE (PHP <7.3)
Here is a pattern for all kind of Moscow and Moscow Region phones with or without additional number.
Submitted by
cvvvlad
-
8 years ago
1
APH - Product FriendlyUrl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Swedish postnumber
PCRE (PHP <7.3)
This regexp will check for valid swedish postnumber
Submitted by
JKD
-
8 years ago
1
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
CPE reboots reasons level 1
ECMAScript (JavaScript)
CPE reboots reasons: parsing level 1
Submitted by
anonymous
-
8 years ago
1
CPE reboots reasons level1
ECMAScript (JavaScript)
CPE reboots reasons level1
Submitted by
nshushkin
-
8 years ago
1
Remove unnecessary spaces after and before parentheses
PCRE (PHP <7.3)
no description available
Submitted by
Tenaz
-
8 years ago
1
6 digit client number
PCRE (PHP <7.3)
6 digit client number
Submitted by
anonymous
-
8 years ago
1
expression 1
PCRE (PHP <7.3)
grab phase/chem formula/chem name/CAS
Submitted by
anonymous
-
8 years ago
1
Search all terms
PCRE (PHP <7.3)
Match the sentence if ALL the mentioned keywords are present
Submitted by
anonymous
-
8 years ago
1
And/Or search of terms in sentences
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Regex to Match Valid Hex Color Values in CSS
Python
no description available
Submitted by
Prayash Mohapatra
-
8 years ago
1
Float
PCRE (PHP <7.3)
Анализ
Submitted by
anonymous
-
8 years ago
1
ddd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
252
253
254
255
256
...
897
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)