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,040 community submitted regex patterns...
1
Match segmented paths with '\' and '/' escaped by '\'
Java 8
Match segmented paths with '\' and '/' escaped by '\'
Submitted by
anonymous
-
4 years ago
1
Semantec Versioning
ECMAScript (JavaScript)
Various RegEx expressions that work with Semantic Versioning,
Submitted by
Flemming Steffensen
-
4 years ago
0
한글자만 남기고 중복글자 지우기
PCRE2 (PHP >=7.3)
한글자만 남기고 중복글자 지우기 ex) 강남역역역역 -> 강남역
Submitted by
anonymous
-
4 years ago
0
Semantic Versioning
Golang
Semantic versioning regex
Submitted by
anton-yurchenko
-
4 years ago
0
Address
PCRE2 (PHP >=7.3)
grab address
Submitted by
anonymous
-
4 years ago
0
Replace Json value with key
PCRE2 (PHP >=7.3)
Find the key and replace it's value.
Submitted by
anonymous
-
4 years ago
0
Email Regex
Java 8
Regex to capture email from Text
Submitted by
Suman Maharjan
-
4 years ago
0
r-type single register
PCRE2 (PHP >=7.3)
for a comp arch assembler
Submitted by
anonymous
-
4 years ago
0
Regex to replace path in apache rewrite
Java 8
This regex convert following text: /research/the-123s-of-school-choice/ INTO: /research-library/?report=the-123s-of-school-choice
Submitted by
Suman Maharjan
-
4 years ago
(Last modified 4 years ago)
0
Regex to replace SRC to DATA-SRC when class attribute contains lazy text
PCRE2 (PHP >=7.3)
This regex converts text like this: __ TO: __
Submitted by
Suman Maharjan
-
4 years ago
3
discord invite link
ECMAScript (JavaScript)
detect discord invite links such as: discord.gg/link discord.com/invite/link .gg/link .com/invite/link...
Submitted by
padero
-
4 years ago
0
Floating point number with optional positive/negative
PCRE2 (PHP >=7.3)
Basic matches an integer or floating point number with optional positive or negative signed.
Submitted by
Tony Le
-
4 years ago
0
AEM - Author & Publisher - request.log - RegEx for SPLUNK fields
PCRE2 (PHP >=7.3)
RegEx to extract fields in SPLUNK for AEM Authors and Publishers for the request.log.
Submitted by
Robert Wunsch
-
4 years ago
(Last modified 4 years ago)
0
discord gift
ECMAScript (JavaScript)
detects links from discord.com/gifts discord.gift/
Submitted by
padero
-
4 years ago
1
Time duration from minutes to weeks suffixed by letter and whitespace separated
ECMAScript (JavaScript)
Brief Description Time duration from minutes to weeks suffixed by corresponding letter and whitespace separated. No unit of time can be omitted. Max values are enforced for minutes, hours, and days, and a max length for weeks. Case is ignored. The string should match completely from start to end. E...
Submitted by
Dorin Popa
-
4 years ago
(Last modified 4 years ago)
0
django /static/ to {% static %}
PCRE2 (PHP >=7.3)
replaces as said
Submitted by
anonymous
-
4 years ago
0
/static/ finder, for django replacement
PCRE2 (PHP >=7.3)
replace /static/ sources with the django {% static %} tags
Submitted by
anonymous
-
4 years ago
0
owo/uwu/7w7
PCRE2 (PHP >=7.3)
detects this shit: owo uwu 7w7 unu 7n7...
Submitted by
padero
-
4 years ago
0
Convert list for use in SQL IN statement
PCRE2 (PHP >=7.3)
Just need to remove the last ,
Submitted by
Ian1971
-
4 years ago
0
Year/Month/Day parser
PCRE2 (PHP >=7.3)
Parse the years/months/days from a string
Submitted by
anonymous
-
4 years ago
1
...
220
221
222
223
224
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
rgba
?
\(
\s
*
(
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
1
\d
{1,2}
|
\d\d
?
)
\s
*
,
\s
*
(
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
1
\d
{1,2}
|
\d\d
?
)
\s
*
,
\s
*
(
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
1
\d
{1,2}
|
\d\d
?
)
\s
*
,
?
\s
*
(
[
01
\.
]
\.
?
\d
?
)?
\s
*
\)
/
gm
Open regex in editor
Description
This will parse and give you the values of an RGB or RGBA CSS style.
Submitted by
Beau Beauchamp, WebTIGERS
-
4 years ago