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,240 community submitted regex patterns...
1
check phone number(Taiwan)
Python
If pattern match, then this number probably is a phone number in Taiwan.
Submitted by
Assalin
-
10 years ago
1
Find exeptions in log4j
Python
regex to consider exceptions in log4j
Submitted by
anonymous
-
10 years ago
1
postfix
Python
get ip identifier, queue name, email domain and status from postfix log
Submitted by
kglod
-
10 years ago
1
Timecode
Python
Regex to match standard timecode format. (Updated with fewer groups).
Submitted by
Travis
-
9 years ago
1
apache log parser
Python
no description available
Submitted by
Claudio Borges
-
9 years ago
1
json comment - first attempt
Python
no description available
Submitted by
Mark
-
9 years ago
1
Address Match
Python
no description available
Submitted by
Awk
-
9 years ago
0
Get any word before specific string
Python
no description available
Submitted by
anonymous
-
9 years ago
1
States
Python
States (US) 2 char format, matches: Ga or GA
Submitted by
miqui
-
10 years ago
1
IPv4 extraction
Python
no description available
Submitted by
Jacob
-
11 years ago
1
quoted string in VB.net format
Python
Get all strings in vb.net format (even nested quotes"
Submitted by
Alan Moore (http://stackoverflow.com/questions/2148587/finding-quoted-strings-with-escaped-quotes-in-c-sharp-using-a-regular-expression) modified by j
-
11 years ago
1
REGEX
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Parse a HTML URL
Python
Break a URL into parts: protocol url path get parameters hash
Submitted by
Dale O'Brien
-
11 years ago
1
dd/mm/yyyy validation regexp
Python
no description available
Submitted by
uknnown
-
9 years ago
2
Find any digits in string
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Palabras en mayúscula que no están después de un punto
Python
no description available
Submitted by
anonymous
-
11 years ago
2
Parasite subtitles
Python
no description available
Submitted by
Andrey Spiridonov
-
11 years ago
2
python regex
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Capture 5 words either side of a match string
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Match 5 forward slashes
Python
Match 5 forward slashes
Submitted by
anonymous
-
10 years ago
1
...
105
106
107
108
109
...
112
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