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
ORIGIN_UNBOUNCE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
ORIGIN_SOCIAL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Get info in braces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Rechnung - Gesamtsumme
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Regex 04
PCRE (PHP <7.3)
Desafio proposto pelo Brunno, usando uma página da B3 - 13/03/2020.
Submitted by
Paula Picolott (ppicolott)
-
5 years ago
0
RegEx 01
ECMAScript (JavaScript)
Desafio proposto pelo Brunno: Apenas palavras compostas de 4 (quatro) letras - 11/03/2020.
Submitted by
Paula Picolott (ppicolott)
-
5 years ago
0
RegEx 02
PCRE (PHP <7.3)
Desafio proposto pelo Brunno: Apenas palavras terminadas com a letra "c" - 11/03/2020.
Submitted by
Paula Picolott (ppicolott)
-
5 years ago
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 4 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
1
...
277
278
279
280
281
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
[
0
-
9A
-
Za
-
z
]
/
g
Open regex in editor
Description
This allows only the specified characters to be a valid MyKad or Passport Number in Malaysia.
Submitted by
Munirul Haikal
-
3 years ago