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
大写英文字母
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
qq号格式正确
ECMAScript (JavaScript)
qq号格式正确
Submitted by
anonymous
-
5 years ago
0
帐号是否合法(字母开头,允许5-16字节,允许字母数字下划线组合
ECMAScript (JavaScript)
帐号是否合法(字母开头,允许5-16字节,允许字母数字下划线组合
Submitted by
anonymous
-
5 years ago
0
护照(包含香港、澳门)
ECMAScript (JavaScript)
护照(包含香港、澳门)
Submitted by
anonymous
-
5 years ago
1
身份证号, 支持1/2代(15位/18位数字)
ECMAScript (JavaScript)
身份证号, 支持1/2代(15位/18位数字)
Submitted by
anonymous
-
5 years ago
1
身份证号(2代,18位数字),最后一位是校验位,可能为数字或字符X
ECMAScript (JavaScript)
身份证号(2代,18位数字),最后一位是校验位,可能为数字或字符X
Submitted by
anonymous
-
5 years ago
0
身份证号(1代,15位数字)
ECMAScript (JavaScript)
身份证号(1代,15位数字)
Submitted by
anonymous
-
5 years ago
0
座机电话(国内),如: 0341-86091234
ECMAScript (JavaScript)
座机电话(国内),如: 0341-86091234
Submitted by
anonymous
-
5 years ago
0
email(邮箱)
ECMAScript (JavaScript)
email(邮箱)
Submitted by
anonymous
-
5 years ago
0
手机号中国(最宽松), 只要是1开头即可, 如果你的手机号是用来接收短信, 优先建议选择这一条
ECMAScript (JavaScript)
手机号中国(最宽松), 只要是1开头即可, 如果你的手机号是用来接收短信, 优先建议选择这一条
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
中文姓名
ECMAScript (JavaScript)
中文姓名
Submitted by
anonymous
-
5 years ago
0
银行卡号(10到30位, 覆盖对公/私账户, 参考微信支付)
ECMAScript (JavaScript)
银行卡号(10到30位, 覆盖对公/私账户, 参考微信支付)
Submitted by
anonymous
-
5 years ago
0
数字/货币金额 (只支持正数、不支持校验千分位分隔符)
ECMAScript (JavaScript)
数字/货币金额 (只支持正数、不支持校验千分位分隔符)
Submitted by
anonymous
-
5 years ago
1
...
338
339
340
341
342
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(?<!
(?:
\\
{2}
)*
\\
)
(?:
(?<begin_capture>
[
\(
]
)
(?<begin_capture_modifier>
(?=
[
<
]
[
a
-
z_A
-
Z
]
+
[
>
]
)
|
(?!
\?
(?:
<
?
[
=!
]
|
:
)
)
)
|
(?<begin_non_capture>
\(
(?=
\?
(?:
<
?
[
=!
]
|
:
)
)
)
)
|
(?:
(?<end>
\)
)
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago