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,000 community submitted regex patterns...
0
邮政编码(中国)
ECMAScript (JavaScript)
邮政编码(中国)
Submitted by
anonymous
-
5 years ago
0
微信号,6至20位,以字母开头,字母,数字,减号,下划线
ECMAScript (JavaScript)
微信号,6至20位,以字母开头,字母,数字,减号,下划线
Submitted by
anonymous
-
5 years ago
0
16进制颜色
ECMAScript (JavaScript)
16进制颜色
Submitted by
anonymous
-
5 years ago
0
ip-v6
ECMAScript (JavaScript)
ip-v6
Submitted by
anonymous
-
5 years ago
0
ip-v4
ECMAScript (JavaScript)
ip-v4
Submitted by
anonymous
-
5 years ago
0
用户名校验,4到16位(字母,数字,下划线,减号)
ECMAScript (JavaScript)
用户名校验,4到16位(字母,数字,下划线,减号)
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
大写英文字母
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
1
...
336
337
338
339
340
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
0
\.
(
[
1
-
9
]
{1}
)
|
10
(
\.
0
{1,9}
)?
)
$
/
Open regex in editor
Description
test 折扣只能输入0.1-10的最多包含一位小数的数字
Submitted by
anonymous
-
5 years ago