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
URL Extract base url (https://google.com) and domain (google.com) from URL String
Python
For extracting the base URL and domain from a URL String
Submitted by
QuickRegEx
-
3 years ago
0
Email Extract All Email Addresses from a Block of Text
Python
Use this to extract all email addresses from a block of text.
Submitted by
QuickRegEx
-
3 years ago
0
URL Extract Google Click ID (gclid) from URL String
Python
For extracting the Google Click ID from a URL String
Submitted by
QuickRegEx
-
3 years ago
0
match @access phpdoc tags
PCRE2 (PHP >=7.3)
used for finding old skool @access tags in method phpdoc comments. any amount of whitespace can exist before * and before scope identifier examples: @access public...
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Year/Month/Day parser
PCRE2 (PHP >=7.3)
Parse the years/months/days from a string
Submitted by
anonymous
-
3 years ago
0
Convert list for use in SQL IN statement
PCRE2 (PHP >=7.3)
Just need to remove the last ,
Submitted by
Ian1971
-
3 years ago
0
owo/uwu/7w7
PCRE2 (PHP >=7.3)
detects this shit: owo uwu 7w7 unu 7n7...
Submitted by
padero
-
3 years ago
0
/static/ finder, for django replacement
PCRE2 (PHP >=7.3)
replace /static/ sources with the django {% static %} tags
Submitted by
anonymous
-
3 years ago
0
django /static/ to {% static %}
PCRE2 (PHP >=7.3)
replaces as said
Submitted by
anonymous
-
3 years ago
0
discord gift
ECMAScript (JavaScript)
detects links from discord.com/gifts discord.gift/
Submitted by
padero
-
3 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
-
3 years ago
(Last modified 3 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
-
3 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
-
3 years ago
(Last modified 3 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
-
3 years ago
0
r-type single register
PCRE2 (PHP >=7.3)
for a comp arch assembler
Submitted by
anonymous
-
3 years ago
0
Email Regex
Java 8
Regex to capture email from Text
Submitted by
Suman Maharjan
-
3 years ago
0
Replace Json value with key
PCRE2 (PHP >=7.3)
Find the key and replace it's value.
Submitted by
anonymous
-
3 years ago
0
Address
PCRE2 (PHP >=7.3)
grab address
Submitted by
anonymous
-
3 years ago
0
Semantic Versioning
Golang
Semantic versioning regex
Submitted by
anton-yurchenko
-
3 years ago
0
한글자만 남기고 중복글자 지우기
PCRE2 (PHP >=7.3)
한글자만 남기고 중복글자 지우기 ex) 강남역역역역 -> 강남역
Submitted by
anonymous
-
3 years ago
1
...
755
756
757
758
759
...
900
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
-
3 years ago