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
#结尾的电话匹配
Java 8
#结尾的电话匹配
Submitted by
anonymous
-
3 years ago
1
提取步骤1
ECMAScript (JavaScript)
提取步骤1
Submitted by
liangchao
-
3 years ago
(Last modified 3 years ago)
0
Jira issue number
Golang
Matches and catches Jira issue number
Submitted by
anonymous
-
3 years ago
0
Password policy (password requires three out of the four character types)
PCRE (PHP <7.3)
A password must consist of at least fifteen characters. A password must contain a character from at least three of the following four sets: A-Z a-z 0-9 !@#$%^&*_-+=?|\/(){}[]:,.;...
Submitted by
RGT, Mast
-
3 years ago
0
正規表現例
PCRE2 (PHP >=7.3)
正規表現の例です
Submitted by
anonymous
-
3 years ago
0
ipv4
ECMAScript (JavaScript)
IPv4 string check in JavaScript RegEx
Submitted by
clarkttfu@gmail.com
-
3 years ago
0
匹配#结尾的电话号码和手机
Java 8
匹配#结尾的电话号码和手机
Submitted by
Leo
-
3 years ago
-1
Email Regex
ECMAScript (JavaScript)
Email Validation Regex
Submitted by
anonymous
-
3 years ago
0
The list of Android permissions with their severity
Python
Find all Android permissions with their severity in HTML source code of google documentation.
Submitted by
Alticore (Antoine ADAM: https://github.com/Antoine-ADAM)
-
3 years ago
0
RGB 256 Function Notation
ECMAScript (JavaScript)
Standardized RGB 256 Notation for CSS Functions. For Example: const str = "255, 255, 255"; // Match const str = "0, 10, 200"; // Match ...
Submitted by
anonymous
-
3 years ago
0
Branch naming policy for internal GitHub
PCRE2 (PHP >=7.3)
To enforce branch names to include specific prefix and not allow some special characters.
Submitted by
TParry
-
3 years ago
1
RGB 256 Color Format: Matches 24bit RGB Colors.
ECMAScript (JavaScript)
There are several ways to format 24bit RGB Colors, however, two of the formats are far more common in the wild than others. The 2 most common 24bit RGB formats are | FORMAT | Alt Name | Num Sys | | ------------------------ | -------------- | ------------ | | RGB Hex Format | HexColo...
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
IP Address
Java 8
IP Address RegEx
Submitted by
anonymous
-
3 years ago
0
Money format
PCRE2 (PHP >=7.3)
Any money format
Submitted by
anonymous
-
3 years ago
0
Find next valid markup element of XML content
PCRE (PHP <7.3)
I created the regexp using the XML-specificaton (https://www.w3.org/TR/xml), but in a simplified format (for example allowing only a narrowed set of tag-name characters). The regular expression is a recursive regexp with backreference. I do not tested extensively the regex with a regex-directed engi...
Submitted by
GyRos
-
3 years ago
0
find const string in code for xml/java
Python
.
Submitted by
anonymous
-
3 years ago
1
RGB Colors in Hex Format: 3 or 6 Hexadecimal Digits
ECMAScript (JavaScript)
Matches against RGB (not to be confused with RGBa). Will match against any and all RGB Hexadecimal Formatted colors. Some example of the values this regular expression was created to match are: "#FFFFFF", "#FFF", "#ABCDEF", "#123456", "#18F", "#812" MUST USE THE 'i' FLAG (insensitive) Without the...
Submitted by
jD3V
-
3 years ago
(Last modified 3 years ago)
0
Snap Regex
PCRE2 (PHP >=7.3)
Pull property names snap Json
Submitted by
anonymous
-
3 years ago
0
Get First Name
ECMAScript (JavaScript)
Grab a first name from a full name string
Submitted by
Tom
-
3 years ago
0
MyRegex
Python
"(\d+年\d+月\d+日).新增本土.确诊病例(\d+)例.无症状感染者(\d+)例.其中(\d+)例确诊病例为此前无症状.,(\d+)例确诊病例和(\d+)例无症状感染者.相关风险人群排查中发现"
Submitted by
Mark
-
3 years ago
1
...
147
148
149
150
151
...
902
Community Library Entry
0
Regular Expression
Java 8
"
^
(
(?:
[
01
]
[
0
-
9
]
{0,2}
|
(?:
2
(?:
5
[
0
-
5
]
{0,1}
|
[
0
-
4
]
[
0
-
9
]
{0,1}
|
[
6
-
9
]
{0,1}
)
)
|
[
3
-
9
]
[
0
-
9
]
{0,1}
)
\.
){3}
(?:
[
01
]
[
0
-
9
]
{0,2}
|
(?:
2
(?:
5
[
0
-
5
]
{0,1}
|
[
0
-
4
]
[
0
-
9
]
{0,1}
|
[
6
-
9
]
{0,1}
)
)
|
[
3
-
9
]
[
0
-
9
]
{0,1}
)
$
"
gm
Open regex in editor
Description
IP Address RegEx
Submitted by
anonymous
-
3 years ago