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,020 community submitted regex patterns...
0
括号匹配
Java 8
(\[]\])|(【】)|(())|(\(\))
Submitted by
nasion
-
3 years ago
1
refactoring
PCRE2 (PHP >=7.3)
for refactoring Kotlin tests
Submitted by
nikita.bols
-
3 years ago
(Last modified 3 years ago)
0
Default HTML5 with German Umlauts
ECMAScript (JavaScript)
Adds german special characters äöüß to the default HTML5 regex
Submitted by
mroettgen
-
3 years ago
0
matlab代码
Python
matlab代码
Submitted by
java
-
3 years ago
0
cri logfmt
Golang
The CRI expr will match and parse log lines of this format: 2019-01-01T01:00:00.000000001Z stderr P some log message `
Submitted by
east4ming
-
3 years ago
0
Test Function Block
PCRE2 (PHP >=7.3)
Test
Submitted by
anonymous
-
3 years ago
0
Readable fail2ban logs in AWS Cloudwatch
PCRE2 (PHP >=7.3)
Captures date, time, jail, action and ip address so they can be better formatted.
Submitted by
dtwx
-
3 years ago
0
Match a CiviCRM Case Hash
PCRE2 (PHP >=7.3)
CiviCRM prepends a hash to email subjects. This regex will capture the case hash and formatting and possibly useful for removing this text.
Submitted by
dtwx
-
3 years ago
0
Public Phone
PCRE2 (PHP >=7.3)
Public phone regex
Submitted by
AlexVerkhov
-
3 years ago
0
DB
Java 8
DB
Submitted by
DB
-
3 years ago
0
OS正则表达式
Java 8
zzx
Submitted by
zzx
-
3 years ago
0
LinkTree
Python
just to find linktree links in poirot
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
first word regex
PCRE2 (PHP >=7.3)
this can be used to show first word
Submitted by
anonymous
-
3 years ago
0
Clean phone numbers
ECMAScript (JavaScript)
(204)555-5555 (204)-(555)-(5555) 204-555-5555 To: 2045555555
Submitted by
smitpatelx
-
3 years ago
0
regex_commercial_activities
PCRE2 (PHP >=7.3)
guifro
Submitted by
guifro
-
3 years ago
1
phone regex
ECMAScript (JavaScript)
phone regex
Submitted by
antiai
-
3 years ago
0
get teacher url
ECMAScript (JavaScript)
will match ^/teacher//list$ ^/teacher//file/$ ^/teacher//info/$ ...
Submitted by
anonymous
-
3 years ago
0
CVE-2021-31805 (s2-062)
Python
\%[\s|\\r|\\n]\{[\s|\\r|\\n](?:[\s|\\r|\\n]*\(\#+\=+\)\.)
Submitted by
anonymous
-
3 years ago
-1
Twitter Tweet URL
PCRE (PHP <7.3)
This ensures that a link to tweet strictly matches
Submitted by
anonymous
-
3 years ago
0
Remove enclosing quotes
PCRE2 (PHP >=7.3)
Removes a pair of quotes enclosing a string and leaves just the string
Submitted by
anonymous
-
3 years ago
1
...
147
148
149
150
151
...
901
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?=
.
{1,22}
$
)
(
(?=
[
a
-
z0
-
9-
]
{1,63}
\.
)
(
xn--
+
)?
[
a
-
z0
-
9
]
+
(
-
[
a
-
z0
-
9
]
+
)*
\.
)+
[
a
-
z
]
{2,63}
/
Open regex in editor
Description
no description available
Submitted by
Pratheesh ps
-
9 years ago