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,000 community submitted regex patterns...
0
Match substring of two matches in either order
PCRE2 (PHP >=7.3)
When you have a block of text and you want to find the shortest substring with one of two matches on either end, in either order.
Submitted by
Chris Barth <chrisjbarth@hotmail.com>
-
2 years ago
0
匹配css变量括号里的值
PCRE2 (PHP >=7.3)
匹配css变量括号里的值
Submitted by
artiely
-
2 years ago
0
匹配css变量
PCRE2 (PHP >=7.3)
匹配css变量
Submitted by
artiely
-
2 years ago
0
Email
ECMAScript (JavaScript)
Email
Submitted by
anonymous
-
2 years ago
1
Match last repetition and remove it
ECMAScript (JavaScript)
Remove the last repetition of a on texts like: a b c d a e f g
Submitted by
Icaruk
-
2 years ago
0
Lookahead/lookbehind DoB
PCRE2 (PHP >=7.3)
DoB with Lookahead and Look behind
Submitted by
Arif
-
2 years ago
0
Comma Separated Email Regex
PCRE2 (PHP >=7.3)
Comma Separated Email Regex
Submitted by
Kahnu
-
2 years ago
0
Cloudfront URL pointing to S3
Python
Public Cloudfront URL that redirects to a S3 file
Submitted by
anonymous
-
2 years ago
0
Scryfall - Cards with ability counters
PCRE2 (PHP >=7.3)
Find all cards with keyword ability counters in their oracle text.
Submitted by
anonymous
-
2 years ago
0
test
PCRE2 (PHP >=7.3)
address\s\d+\srange\s(?\S+)\s*(?\S+)
Submitted by
anonymous
-
2 years ago
1
IPv4
Python
| Regex | Number | | :----------: | :-----------: | | 1?[1-9]?\d | 0-99, 110-199 | | 12\d | 100-149, 200-249 | | 25[0-5] | 250-255 | ...
Submitted by
MicroMicrocosm
-
2 years ago
0
russian phone number
Python
That's work!
Submitted by
anonymous
-
2 years ago
0
Phone_number_test
Python
Test
Submitted by
anonymous
-
2 years ago
0
Regexy uczelnia
Python
Wyszukuje słowo Mikołaj
Submitted by
anonymous
-
2 years ago
0
Decimal upto 5 places
PCRE2 (PHP >=7.3)
select only number with or without decimal place and limit decimal places to 5 decimals
Submitted by
YJ
-
2 years ago
0
French Insurance Number
.NET 7.0 (C#)
French Insurance Number
Submitted by
Dohts
-
2 years ago
0
Find Japanese
ECMAScript (JavaScript)
Find Japanese
Submitted by
nghilq
-
2 years ago
1
capitalAfterVowel
PCRE2 (PHP >=7.3)
Given a string, make every consonant after a vowel uppercase.
Submitted by
anonymous
-
2 years ago
0
Find validation name and name inside parentheses
ECMAScript (JavaScript)
Find validation name and name inside parentheses
Submitted by
nghilq
-
2 years ago
0
Match PWSID
ECMAScript (JavaScript)
Match PWSID
Submitted by
Matt Horrell
-
2 years ago
(Last modified 6 months ago)
1
...
88
89
90
91
92
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
.
*
)
(
[
(
]
)
(
.
*
)
\)
*
(
\.
decode
\(
(
.
*
[
"'
]
.
*
?
[
"'
]
.
*
)
\)
)
/
gm
Open regex in editor
Description
.decode > decode_p2
Submitted by
anonymous
-
2 years ago