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 6,400 community submitted regex patterns...
0
qq号格式正确
ECMAScript (JavaScript)
qq号格式正确
Submitted by
anonymous
-
5 years ago
0
数字和字母组成
ECMAScript (JavaScript)
数字和字母组成
Submitted by
anonymous
-
5 years ago
0
英文字母
ECMAScript (JavaScript)
英文字母
Submitted by
anonymous
-
5 years ago
0
小写英文字母组成
ECMAScript (JavaScript)
小写英文字母组成
Submitted by
anonymous
-
5 years ago
0
大写英文字母
ECMAScript (JavaScript)
大写英文字母
Submitted by
anonymous
-
5 years ago
0
密码强度校验,最少6位,包括至少1个大写字母,1个小写字母,1个数字,1个特殊字符
ECMAScript (JavaScript)
密码强度校验,最少6位,包括至少1个大写字母,1个小写字母,1个数字,1个特殊字符
Submitted by
anonymous
-
5 years ago
0
用户名校验,4到16位(字母,数字,下划线,减号)
ECMAScript (JavaScript)
用户名校验,4到16位(字母,数字,下划线,减号)
Submitted by
anonymous
-
5 years ago
0
ip-v4
ECMAScript (JavaScript)
ip-v4
Submitted by
anonymous
-
5 years ago
0
ip-v6
ECMAScript (JavaScript)
ip-v6
Submitted by
anonymous
-
5 years ago
0
16进制颜色
ECMAScript (JavaScript)
16进制颜色
Submitted by
anonymous
-
5 years ago
0
微信号,6至20位,以字母开头,字母,数字,减号,下划线
ECMAScript (JavaScript)
微信号,6至20位,以字母开头,字母,数字,减号,下划线
Submitted by
anonymous
-
5 years ago
0
邮政编码(中国)
ECMAScript (JavaScript)
邮政编码(中国)
Submitted by
anonymous
-
5 years ago
0
中文和数字
ECMAScript (JavaScript)
中文和数字
Submitted by
anonymous
-
5 years ago
0
不能包含字母
ECMAScript (JavaScript)
不能包含字母
Submitted by
anonymous
-
5 years ago
0
URL
ECMAScript (JavaScript)
https://regex101.com/r/VC5MsA/4
Submitted by
anonymous
-
5 years ago
0
Number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
right string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
시욱이 - IMG 숫자 . webp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
修复URL尾斜杠
ECMAScript (JavaScript)
兼容ios
Submitted by
anonymous
-
5 years ago
0
RFC 5322
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
1
...
182
183
184
185
186
...
320
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)