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
Find all numerics, either integer or float (engineering not supported).
PCRE (PHP <7.3)
Find all numerics, either integer or float (engineering not supported).
Submitted by
anonymous
-
5 years ago
(Last modified 3 years ago)
0
Find integer, immediately followed by escape characters.
PCRE (PHP <7.3)
Find integer, immediately followed by escape characters.
Submitted by
anonymous
-
5 years ago
0
Convert snake_case_enum_cases to camelCaseEnumCases
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
str100
ECMAScript (JavaScript)
验证字符串的长度 一般用于input textarea输入框
Submitted by
anonymous
-
5 years ago
0
只能输入 大于1的数值
ECMAScript (JavaScript)
一般用于验证 价格
Submitted by
anonymous
-
5 years ago
0
手机号匹配
ECMAScript (JavaScript)
一般用于验证 必然是宽松的(1\d{10}) 用严格校验的都是没用脑子思考过的。 1.如果用户要故意输错,怎么都拦不住。 宽松校验已经能解决相当一部分的误输入(最常见的问题是少输了一位),相比之下,这个「严格正则」并没有明显的优势:假如用户只输错了一位数,用「严格正则」能校验出来的概率也就不到 20%,超过 80% 的错误还是校验不出来。所以这个校验的意义很大吗? 需要输入手机号的业务往往会配合短信校验码使用,校验码能完全解决用户输错的问题。...
Submitted by
anonymous
-
5 years ago
0
验证固定电话的
ECMAScript (JavaScript)
现在的固定电话格式应该也变了吧,应该也换成宽松的,下次用到的时候再改吧
Submitted by
anonymous
-
5 years ago
0
password
ECMAScript (JavaScript)
test 以字母开头,6-12位之间的字符、数字和下划线
Submitted by
anonymous
-
5 years ago
0
discount
ECMAScript (JavaScript)
test 折扣只能输入0.1-10的最多包含一位小数的数字
Submitted by
anonymous
-
5 years ago
0
integer
ECMAScript (JavaScript)
只能输入大于0的整数
Submitted by
anonymous
-
5 years ago
0
percent1
ECMAScript (JavaScript)
0~100的整数
Submitted by
anonymous
-
5 years ago
0
percent2
ECMAScript (JavaScript)
1-100的整数
Submitted by
anonymous
-
5 years ago
0
num50
ECMAScript (JavaScript)
1-50的整数
Submitted by
anonymous
-
5 years ago
0
num1000
ECMAScript (JavaScript)
1-1000的整数
Submitted by
anonymous
-
5 years ago
0
Validate UUID v4
PCRE (PHP <7.3)
Checks for validity of UUIDv4 using a regular expression.
Submitted by
anonymous
-
5 years ago
0
stop
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
IDS Patent number extract
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
IDS Extract Country Code
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
IPTV Playlist
PCRE (PHP <7.3)
Get parts of an IPTV playlist
Submitted by
anonymous
-
5 years ago
0
Regular expression grammar in escaped quotation form
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
653
654
655
656
657
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
(?<qty>
\d
{1,}
)
x
(?<items>
\w
{3,}
)
[^
,
]
*
|
(?<item>
\w
{3,}
)
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago