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 5,660 community submitted regex patterns...
-2
find mp3 file
ECMAScript (JavaScript)
find mp3 file embeded in a link
Submitted by
ogerly
-
9 years ago
-2
SQL Comment
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
Prosed OFX DateTimeType pattern for v.2.1.1+
Python
no description available
Submitted by
Oleg Sakharov karpuscul@gmail.com
-
9 years ago
-2
Name/Surname
ECMAScript (JavaScript)
Regex to constrain a text to have at least 2 strings. Compatible with 2nd-3rd-Nth names/surnames.
Submitted by
BigL
-
9 years ago
-2
match commas between sets or members, but not inside members.
Python
matches only those commas that are between sets, or between members of a set. does not match commas that are inside members.
Submitted by
Amrit Kohli
-
9 years ago
-2
Validating comma delimited strings for whitespaces & extra commas
ECMAScript (JavaScript)
Validating comma delimited strings for whitespaces & extra commas -- +(,()+){0,}
Submitted by
Cyril Mathew
-
9 years ago
-2
match unescaped quotes
Python
no description available
Submitted by
anonymous
-
9 years ago
-3
Detect a numeric string
ECMAScript (JavaScript)
no description available
Submitted by
Ankur Chauhan
-
10 years ago
-3
remove facebook urls from html
ECMAScript (JavaScript)
This will remove all facebook urls from a HTML string
Submitted by
Russell Miller
-
9 years ago
-3
matching words between tags
ECMAScript (JavaScript)
matching words between square brachets tags include newline or carriage return
Submitted by
anonymous
-
9 years ago
-3
IPv4 address
Python
Matches any IPv4 address
Submitted by
anonymous
-
9 years ago
-1
Extract the city from zip code and city input
ECMAScript (JavaScript)
no description available
Submitted by
Nils Butenschön
-
9 years ago
-1
Some kinds of emails regex.
ECMAScript (JavaScript)
Its a regex expression that matches with severals allowed kinds of emails.Enjoy it.
Submitted by
D<0S>
-
9 years ago
-1
GetDeviceIdFromAOR
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
Bluecoat Upstream ipv4-2
Python
Log: Bluecoat Event Type: Upstream Ref to Json: "Sources/Bluecoat/ipv4-2
Submitted by
anonymous
-
8 years ago
-1
North America - US - N11 Service Number - e.164 compliant/non-compliant
ECMAScript (JavaScript)
This expression can be used for identifying if a string (such as a dialed number using a cloud based telephony service) matches one of the known North American US N11 Service Numbers. It will match if the number is in e.164 format or not, and only matches when the string begins and ends with the des...
Submitted by
Benjamin Dean
-
8 years ago
-1
get only ids
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
-1
Passwords
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
Discord Emojis
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
IP Address validator
ECMAScript (JavaScript)
Validates IPv4 IP Address
Submitted by
krzysp, fty4
-
7 years ago
1
...
118
119
120
121
122
...
283
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