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
ipv4
Python
no description available
Submitted by
anonymous
-
10 years ago
1
prevent-sanitzation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
Match email addresses and get the mail provider as a group
PCRE (PHP <7.3)
no description available
Submitted by
Ole
-
10 years ago
1
filtrar jadx
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
filterprocyonerror
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
jQuery Validation Email Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Spain mobile phone numbers
PCRE (PHP <7.3)
Matches current mobile telephone numbers in Spain.
Submitted by
Carlos Interactive3g
-
10 years ago
0
Portugal mobile phone numbers
PCRE (PHP <7.3)
Matches current mobile phone numbers in Portugal
Submitted by
Carlos Interactive3g
-
10 years ago
1
vIESTATE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Phone numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
JSONREGEX
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Culture File Name Extraction
PCRE (PHP <7.3)
Extracts the culture name from a javascript file. Works with minified and non minified files.
Submitted by
Lucas Martin
-
10 years ago
0
Find li tag with "word"
PCRE (PHP <7.3)
Find li tag with "word"
Submitted by
Sazar
-
10 years ago
1
Access Log
PCRE (PHP <7.3)
cisco
Submitted by
anonymous
-
10 years ago
0
Match PHP define
PCRE (PHP <7.3)
Matches PHP define("CONSTANT", "VALUE)
Submitted by
xZero
-
10 years ago
1
Get id number from url
PCRE (PHP <7.3)
no description available
Submitted by
Marek Ulwański
-
10 years ago
1
Teste
PCRE (PHP <7.3)
teste
Submitted by
MeuChapeu
-
10 years ago
0
Select Topmost HTML Tags
PCRE (PHP <7.3)
no description available
Submitted by
Guilherme C. Souza
-
10 years ago
1
Israel phone number
PCRE (PHP <7.3)
Valiate israel phone number
Submitted by
boevik
-
10 years ago
-2
Get HTML DIV content
PCRE (PHP <7.3)
Get the content of a DIV HTML Tag.
Submitted by
Ivan Milazzotti
-
10 years ago
1
...
103
104
105
106
107
...
902
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