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 14,860 community submitted regex patterns...
0
email validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
JSON Matching
ECMAScript (JavaScript)
Match numerical value of a JSON key. Numbers only 3-9
Submitted by
anonymous
-
8 years ago
0
decimal_to_frac
Python
Convert .5 in all its forms to 1/2
Submitted by
Brett Tofel
-
8 years ago
0
WhatsApp Message Regex
ECMAScript (JavaScript)
A regex to parse WhatsApp conversation files
Submitted by
anonymous
-
8 years ago
0
Timestamp recognizer, extracts hours minutes seconds
Python
Recognizes time-of-day timestamps Time range is from 0:00:00 through 23:59:59 Seconds are optional Named match components for hours, minutes, seconds
Submitted by
Paul Reiber
-
8 years ago
0
sent from my <phone>
Python
for catching phone generated message such as "sent from my"
Submitted by
anonymous
-
8 years ago
0
Basic Unmarked Phone Number Regex
PCRE (PHP <7.3)
1112223333
Submitted by
Wolf1098
-
8 years ago
0
Phone number
ECMAScript (JavaScript)
A good enough, nonrigorous expression
Submitted by
rchfox
-
8 years ago
0
Perez request
PCRE (PHP <7.3)
See email.
Submitted by
anonymous
-
8 years ago
0
File Name (Windows)
ECMAScript (JavaScript)
Valid windows file name.
Submitted by
anonymous
-
8 years ago
0
IPv4 address with description
Python
Match an IPv4 address and its description delimited by a 'newline' paragraph
Submitted by
edoz90
-
8 years ago
0
url decoders
PCRE (PHP <7.3)
no description available
Submitted by
Sigvald
-
8 years ago
0
Email Validation
PCRE (PHP <7.3)
Email validation according to RFC standards
Submitted by
Colton T.
-
8 years ago
0
version tag
PCRE (PHP <7.3)
Verify if the given text is a version tag, like git tags for versions in the git flow method
Submitted by
bruno-delfino1995
-
8 years ago
0
Negative Lookahead
PCRE (PHP <7.3)
Negative Lookahead Sample
Submitted by
TBU
-
8 years ago
0
Filename & extension
PCRE (PHP <7.3)
no description available
Submitted by
4B1D F4DL14N N
-
8 years ago
0
filename with extension
PCRE (PHP <7.3)
ex : udinkomarudin.png
Submitted by
4B1D F4DL14N N
-
8 years ago
0
a
PCRE (PHP <7.3)
a
Submitted by
a
-
8 years ago
0
justtesting
PCRE (PHP <7.3)
justtesting
Submitted by
justtesting
-
8 years ago
0
justtesting
PCRE (PHP <7.3)
justtesting
Submitted by
justtesting
-
8 years ago
1
...
459
460
461
462
463
...
743
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