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
股票代码(A股)
ECMAScript (JavaScript)
股票代码(A股)
Submitted by
anonymous
-
5 years ago
0
大于等于0, 小于等于150, 支持小数位出现5, 如145.5, 用于判断考卷分数
ECMAScript (JavaScript)
大于等于0, 小于等于150, 支持小数位出现5, 如145.5, 用于判断考卷分数
Submitted by
anonymous
-
5 years ago
0
html注释
ECMAScript (JavaScript)
html注释
Submitted by
anonymous
-
5 years ago
0
md5格式(32位)
ECMAScript (JavaScript)
md5格式(32位)
Submitted by
anonymous
-
5 years ago
0
版本号格式必须为X.Y.Z
ECMAScript (JavaScript)
版本号格式必须为X.Y.Z
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
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
手机号中国(最宽松), 只要是1开头即可, 如果你的手机号是用来接收短信, 优先建议选择这一条
ECMAScript (JavaScript)
手机号中国(最宽松), 只要是1开头即可, 如果你的手机号是用来接收短信, 优先建议选择这一条
Submitted by
anonymous
-
5 years ago
0
email(邮箱)
ECMAScript (JavaScript)
email(邮箱)
Submitted by
anonymous
-
5 years ago
0
座机电话(国内),如: 0341-86091234
ECMAScript (JavaScript)
座机电话(国内),如: 0341-86091234
Submitted by
anonymous
-
5 years ago
0
身份证号(1代,15位数字)
ECMAScript (JavaScript)
身份证号(1代,15位数字)
Submitted by
anonymous
-
5 years ago
0
护照(包含香港、澳门)
ECMAScript (JavaScript)
护照(包含香港、澳门)
Submitted by
anonymous
-
5 years ago
0
帐号是否合法(字母开头,允许5-16字节,允许字母数字下划线组合
ECMAScript (JavaScript)
帐号是否合法(字母开头,允许5-16字节,允许字母数字下划线组合
Submitted by
anonymous
-
5 years ago
0
qq号格式正确
ECMAScript (JavaScript)
qq号格式正确
Submitted by
anonymous
-
5 years ago
1
...
280
281
282
283
284
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?:
(?P<name>
[
\p{L}
\.\
]
+
)
\n
)?
(?:
(?P<co>
[
\p{L}
\.\
\/
]
+
)
\n
)?
(?P<street>
[
\p{L}
\
\p{N}
’
\.
]
+
)
\n
(?:
(?<city>
[
\p{L}
\
]
+
)
\n
)?
(?P<postal_code>
[
\p{N}
\
]
+
)
\
(?P<postal_city>
[
\p{L}
\
]
+
)
(?:
\(
(?<province>
[
\p{L}
\
]
+
)
\)
)?
\n
(?P<country>
[
\p{L}
\
]
+
)?
$
/
gmx
Open regex in editor
Description
Match multiline address formats
Submitted by
anonymous
-
a year ago