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
数字和字母组成
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
密码强度校验,最少6位,包括至少1个大写字母,1个小写字母,1个数字,1个特殊字符
ECMAScript (JavaScript)
密码强度校验,最少6位,包括至少1个大写字母,1个小写字母,1个数字,1个特殊字符
Submitted by
anonymous
-
5 years ago
0
用户名校验,4到16位(字母,数字,下划线,减号)
ECMAScript (JavaScript)
用户名校验,4到16位(字母,数字,下划线,减号)
Submitted by
anonymous
-
5 years ago
0
ip-v4
ECMAScript (JavaScript)
ip-v4
Submitted by
anonymous
-
5 years ago
0
ip-v6
ECMAScript (JavaScript)
ip-v6
Submitted by
anonymous
-
5 years ago
0
16进制颜色
ECMAScript (JavaScript)
16进制颜色
Submitted by
anonymous
-
5 years ago
0
微信号,6至20位,以字母开头,字母,数字,减号,下划线
ECMAScript (JavaScript)
微信号,6至20位,以字母开头,字母,数字,减号,下划线
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
cisco show run interface
PCRE (PHP <7.3)
This regex fetches interface ID along with its ip address and description if configured otherwise blank
Submitted by
anonymous
-
5 years ago
0
Float representation
Python
All float representations that can be consumed by strtod() (string to double function in c) Compatible with flex/bison
Submitted by
anonymous
-
5 years ago
0
phone regex validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Domain validation regex suitable for user input
Golang
This regexp can be used to validate domain names in Golang. While it cannot enforce the 253 character limit (with optional trailing period not included) that can be easily done with a len(domain) <= 253 check. This can be used as-is in other languages, even with RE2 regex engine. Non-capturing grou...
Submitted by
anonymous
-
5 years ago
0
find including multiline
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
URL
ECMAScript (JavaScript)
https://regex101.com/r/VC5MsA/4
Submitted by
anonymous
-
5 years ago
0
CSB34 Account header
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
281
282
283
284
285
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
a
-
zA
-
Z0
-
9-_
\.
~
]
*
)
:
\/\/
(
(
(
[
a
-
zA
-
Z0
-
9-_
\.
~
]
*
)
:
?
(
[
a
-
zA
-
Z0
-
9-_
\.
~
]
*
)?
)
\@
?
(
[
a
-
zA
-
Z0
-
9-_
\.
~
]
*
)
(
(
(?:
\/
[
a
-
zA
-
Z0
-
9-_
\.
~
]
+
)*
\/
?
)
\?
?
(
(?:
[
a
-
zA
-
Z0
-
9-_
\.
~=
]
+
&
?
)+
)?
\#
?
(
[
a
-
zA
-
Z0
-
9-_
\.
~
]
+
)?
)
)
/
gm
Open regex in editor
Description
a universal URL regex with different groups for different parameters
Submitted by
anonymous
-
6 years ago