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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 8,180 community submitted regex patterns...
-2
Exclude particular word in phrase
PCRE2 (PHP >=7.3)
this will exclude particular phrase from a line. means it will match only those line which dont have those word
Submitted by
anonymous
-
3 years ago
-2
LinuxOSVersion
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
-2
From conf table to hive table
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
-2
smargs
PCRE2 (PHP >=7.3)
smargs not margins
Submitted by
rkatz
-
3 years ago
-2
Conventional Commits commit regex
PCRE2 (PHP >=7.3)
https://www.conventionalcommits.org/en/v1.0.0/
Submitted by
Michael Collins
-
2 years ago
-2
Match whitespace and colon, except in specific words
ECMAScript (JavaScript)
For string splitting / deconstructing
Submitted by
anonymous
-
2 years ago
-2
Ascending and Descending order
Java 8
This regex is to match Ascending or descending order of 8 digit number
Submitted by
anonymous
-
a year ago
-2
Codeforces 1800A Solution
ECMAScript (JavaScript)
By inserting this regex in a programming language to test it against Codeforces 1800A you'll solve the task
Submitted by
EntityPlantt
-
a year 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
balanced parenthesis match
ECMAScript (JavaScript)
break the code to first opening parenthesis and then closing use the groups individually not entirely . This is 40% correct online pattern but mixing it with first open then close groups in two different matches result in 100% success
Submitted by
Muhammed
-
6 years ago
-1
sorry guys - uploaded by fat fingers and can't delete
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
-1
Email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
-1
Full or 3 letter abbreviated months
Python
Matches with either the month or abbreviated 3 letter month name. No matching groups used
Submitted by
Benargee
-
5 years ago
1
...
250
251
252
253
254
...
409
ES6 to ESM part 1
0
Regular Expression
ECMAScript (JavaScript)
/
import
\s
+
(?:
(?:
(
[
A
-
z_$
]
[
\w
$
]
*
)
|
\*
\s
+
as
\s
+
(
[
A
-
z_$
]
[
\w
$
]
*
)
|
(
{
\s
*
[
A
-
z_$
]
[
\w
$
]
*
(?:
\s
+
as
\s
+
[
A
-
z_$
]
[
\w
$
]
*
)?
\s
*
(?:
,
\s
*
[
A
-
z_$
]
[
\w
$
]
*
(?:
\s
+
as
\s
+
[
A
-
z_$
]
[
\w
$
]
*
)?
\s
*
)?
}
)
)
\s
+
from
\s
+
(
(
"
|
'
|
`
)
.
*
\5
)
|
(
(
"
|
'
|
`
)
.
*
\7
)
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago