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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 6,080 community submitted regex patterns...
0
match a substring starting from a word and ending at a word
PCRE2 (PHP >=7.3)
match a substring starting from a word and ending at a word
Submitted by
anonymous
-
2 years ago
0
Sélectionner le contenu entre parenthèses
PCRE2 (PHP >=7.3)
Sélectionner le contenu entre parenthèses (parenthèses comprises)
Submitted by
scalpa
-
2 years ago
1
js获取url上的参数
ECMAScript (JavaScript)
/(+)=(+)/gm
Submitted by
anonymous
-
2 years ago
0
Celular Brasil
PCRE2 (PHP >=7.3)
Validar celular do Brasil
Submitted by
Paulo Neves
-
2 years ago
0
Zarf docker registry domain matcher (v2)
PCRE2 (PHP >=7.3)
Used by Zarf to swap the registry domain/port part an image url without needed the docker libraries. usage in go: // SwapHost Perform base url replacement and adds a sha1sum of the original url to the end of the src func SwapHost(src string, targetHost string) (string, error) { targetImage, err ...
Submitted by
Jonathan Perry
-
2 years ago
1
phone number middle number parsing
Java 8
middle number parsing regex
Submitted by
anonymous
-
2 years ago
0
Verify email
Java 8
Regex for email
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
中文匹配
ECMAScript (JavaScript)
本示例启用了多行匹配 m
Submitted by
yang
-
2 years ago
1
11位整数含两位小数校验
ECMAScript (JavaScript)
100.00 10000.00 过滤非 0 开头两位小数
Submitted by
yang
-
2 years ago
0
Invalid HTML syntax regex
PCRE2 (PHP >=7.3)
A bare demo of detecting syntactically invalid HTML, created for jridgewell/proposal-regexp-atomic-and-possessive#1. It's a proposal for the + quantifier modifier for ECMAScript regular expressions. Currently only properly detects invalid ending tags, and is only about having the correct syntax.
Submitted by
Keyacom
-
2 years ago
(Last modified 2 years ago)
0
Match Drupal admin routes
ECMAScript (JavaScript)
Regular expression to match any Drupal admin route
Submitted by
anonymous
-
2 years ago
0
Test mail
PCRE2 (PHP >=7.3)
Email test
Submitted by
anonymous
-
2 years ago
0
Russian phone validation
PCRE2 (PHP >=7.3)
This expression validates russian phones in different formats
Submitted by
zkelo
-
2 years ago
(Last modified 8 months ago)
1
Add space after period
PCRE2 (PHP >=7.3)
Add a whitespace after a period if it is followed by a non-whitespace character
Submitted by
blacksmithop
-
2 years ago
0
No Squares
PCRE2 (PHP >=7.3)
Match not square brackets
Submitted by
max
-
2 years ago
0
AEM SPLUNK - Packages being installed
PCRE2 (PHP >=7.3)
AEM SPLUNK - Packages being installed
Submitted by
Robert Wunsch (wunsch@adobe.com)
-
2 years ago
0
AEM - Author & Publisher - error.log - RegEx for SPLUNK fields
PCRE2 (PHP >=7.3)
AEM - Author & Publisher - error.log - RegEx for SPLUNK fields
Submitted by
Robert Wunsch (wunsch@adobe.com)
-
2 years ago
0
AEM - Author & Publisher - access.log - REGEX for SPLUNK fields
PCRE2 (PHP >=7.3)
AEM - Author & Publisher - access.log - REGEX for SPLUNK fields
Submitted by
Robert Wunsch (wunsch@adobe.com)
-
2 years ago
0
AEM - Dispatcher - access.log - Regex for SPLUNK fields
PCRE2 (PHP >=7.3)
AEM - Dispatcher - access.log - Regex for SPLUNK fields
Submitted by
Robert Wunsch (wunsch@adobe.com)
-
2 years ago
0
AEM - Author & Publisher - error.log - RegEx for SPLUNK fields
PCRE2 (PHP >=7.3)
AEM - Author & Publisher - error.log - RegEx for SPLUNK fields
Submitted by
Robert Wunsch (wunsch@adobe.com)
-
2 years ago
1
...
73
74
75
76
77
...
304
13000000000 (aaa, vvv)
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\s
+
(
[
1
]
[
3,4,5,7,8
]
[
0
-
9
]
{9}
)
\s
+
[
\(
(
]
(
.
*
)
[
\)
)
]
\n
?
/
gm
Open regex in editor
Description
test
Submitted by
anonymous
-
2 years ago