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 2,960 community submitted regex patterns...
0
US/Canada Zip if at end of line
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
docker ps -> firewall
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Sagitta - LTEPIC
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
AOC 2020 day 18
PCRE2 (PHP >=7.3)
no description available
Submitted by
Alan Nevill
-
4 years ago
0
Escaped Character Finder
PCRE2 (PHP >=7.3)
Flavor: PCRE2 Finds escaped characters. No matter how many \ are present, it will always match either \\\. or \. (where . is the character).
Submitted by
Grayson Spidle
-
4 years ago
0
URL
PCRE2 (PHP >=7.3)
This pattern can detect URLs.
Submitted by
anonymous
-
4 years ago
0
Email
PCRE2 (PHP >=7.3)
no description available
Submitted by
AiAbdrahim
-
4 years ago
(Last modified 4 years ago)
0
Email
PCRE2 (PHP >=7.3)
A valid Email
Submitted by
AiAbdrahim
-
4 years ago
0
get first number from string
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
get main content if has :
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Minify HTML
PCRE2 (PHP >=7.3)
Remove Whitespace Remove Comment
Submitted by
Habibi Mustafa
-
4 years ago
0
cisco command
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Aplayer Icons Regex
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
6 digit Sort Code without dashes
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
ReName_01_
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
atleast one alphabet and only +_-@ specials
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Regex for email searches
Golang
no description available
Submitted by
Manuel
-
4 years ago
0
9 digit mid IMB
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
6 digit mid IMB
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Split on Letters, Numbers, and Dashes
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
10
11
12
13
14
...
148
Community Library Entry
0
Regular Expression
Python
r"
(
```
|
`
)
(
python
)?
\s
*
?
\n
?
(
from
\S
+
)?
import
\S
+
(
\n.
*
?
;
)*
\n
(
(
.
*
return
\S
+
```
)
|
(
`return
\S
+
`
)
)
"
gm
Open regex in editor
Description
A regex that matches comments that adhere to the rules of r/ProgrammerHumor
Submitted by
anonymous
-
a year ago