Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 5,620 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
stop
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-16 01:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find a number between two strings.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-17 22:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
phone number validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-17 23:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
反向引用
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-18 09:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
phone number
ECMAScript (JavaScript)
An extremely complete regex, that...
Submitted by
@thegamerbr1
-
4 years ago
2020-03-21 02:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
validasi username dan pass
ECMAScript (JavaScript)
nurhuda
Submitted by
anonymous
-
4 years ago
2020-03-21 03:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
火车车次
ECMAScript (JavaScript)
火车车次
Submitted by
anonymous
-
4 years ago
2020-03-22 06:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
手机机身码(IMEI)
ECMAScript (JavaScript)
手机机身码(IMEI)
Submitted by
anonymous
-
4 years ago
2020-03-22 06:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
必须带端口号的网址(或ip)
ECMAScript (JavaScript)
必须带端口号的网址(或ip)
Submitted by
anonymous
-
4 years ago
2020-03-22 06:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
网址(支持端口和"?+参数"和"#+参数)
ECMAScript (JavaScript)
网址(支持端口和"?+参数"和"#+参数)
Submitted by
anonymous
-
4 years ago
2020-03-22 06:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
统一社会信用代码
ECMAScript (JavaScript)
统一社会信用代码
Submitted by
anonymous
-
4 years ago
2020-03-22 06:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
股票代码(A股)
ECMAScript (JavaScript)
股票代码(A股)
Submitted by
anonymous
-
4 years ago
2020-03-22 06:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
大于等于0, 小于等于150, 支持小数位出现5, 如145.5, 用于判断考卷分数
ECMAScript (JavaScript)
大于等于0, 小于等于150, 支持小数位出现5, 如145.5, 用于判断考卷分数
Submitted by
anonymous
-
4 years ago
2020-03-22 06:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
html注释
ECMAScript (JavaScript)
html注释
Submitted by
anonymous
-
4 years ago
2020-03-22 06:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
md5格式(32位)
ECMAScript (JavaScript)
md5格式(32位)
Submitted by
anonymous
-
4 years ago
2020-03-22 06:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
版本号格式必须为X.Y.Z
ECMAScript (JavaScript)
版本号格式必须为X.Y.Z
Submitted by
anonymous
-
4 years ago
2020-03-22 06:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
数字/货币金额(支持负数、千分位分隔符)
ECMAScript (JavaScript)
数字/货币金额(支持负数、千分位分隔符)
Submitted by
anonymous
-
4 years ago
2020-03-22 06:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
数字/货币金额 (只支持正数、不支持校验千分位分隔符)
ECMAScript (JavaScript)
数字/货币金额 (只支持正数、不支持校验千分位分隔符)
Submitted by
anonymous
-
4 years ago
2020-03-22 06:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
银行卡号(10到30位, 覆盖对公/私账户, 参考微信支付)
ECMAScript (JavaScript)
银行卡号(10到30位, 覆盖对公/私账户, 参考微信支付)
Submitted by
anonymous
-
4 years ago
2020-03-22 06:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
中文姓名
ECMAScript (JavaScript)
中文姓名
Submitted by
anonymous
-
4 years ago
2020-03-22 06:36
1
...
211
212
213
214
215
216
217
...
281
Public Phone
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
7
|
8
)
(
\
|
-
)?
\(
?
9
\d
{2}
\)
?
(
\
|
-
)
\d
{2,3}
(
\
|
-
)?
\d
{2,3}
(
\
|
-
)?
\d
{2,3}
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
AlexVerkhov
-
2 years ago
2022-04-20 13:05