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 14,960 community submitted regex patterns...
0
Date DD-MM-YYYY | DD/MM/YYYY | DD.MM.YYYY (ex. 28-02-2021) (leading zeros for month and day)
Python
For Dates formatted DD-MM-YYYY separated by Dot (.) Dash(-) or Slash(/) like (28–02-2021) with leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
3 years ago
0
Date D-M-YYYY | D/M/YYYY | D.M.YYYY (ex. 28-02-2021) (without leading zeros for month and day)
Python
For Dates formatted D-M-YYYY separated by Dot (.) Dash(-) or Slash(/) like (28-2-2021) without leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
3 years ago
0
URL utm_source (extract UTM Source from a URL String)
Python
Extract utm_source from a URL String
Submitted by
QuickRegEx
-
3 years ago
0
URL utm_medium (extract UTM Medium from a URL String)
Python
Extract utm_medium from a URL String
Submitted by
QuickRegEx
-
3 years ago
0
URL utm_campaign (extract UTM Campaign from a URL String)
Python
Extract utm_campaign from a URL String
Submitted by
QuickRegEx
-
3 years ago
0
URL utm_content (extract UTM Content from a URL String)
Python
Extract utm_content from a URL String
Submitted by
QuickRegEx
-
3 years ago
0
URL utm_term (extract UTM Term from a URL String)
Python
Extract utm_term from a URL String
Submitted by
QuickRegEx
-
3 years ago
0
Email Parse Name with Colon (Name: )
Python
For getting the value after “Name: “ in a block of text
Submitted by
QuickRegEx
-
3 years ago
0
Email Parse Email with Colon (Email: )
Python
For getting the value after “Email: “ in a block of text
Submitted by
QuickRegEx
-
3 years ago
0
Email Parse Phone with Colon (Phone: )
Python
For getting the value after “Phone: “ in a block of text
Submitted by
QuickRegEx
-
3 years ago
0
Email Parse City with Colon (City: )
Python
For getting the value after “City: “ in a block of text
Submitted by
QuickRegEx
-
3 years ago
0
Email Parse State with Colon (State: )
Python
For getting the value after “State: “ in a block of text
Submitted by
QuickRegEx
-
3 years ago
0
Email Parse Zip with Colon (Zip: )
Python
For getting the value after “Zip: “ in a block of text
Submitted by
QuickRegEx
-
3 years ago
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
discord gift
ECMAScript (JavaScript)
detects links from discord.com/gifts discord.gift/
Submitted by
padero
-
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
Email Regex
Java 8
Regex to capture email from Text
Submitted by
Suman Maharjan
-
3 years ago
0
Number Parsing w/ Scientific Support
ECMAScript (JavaScript)
Capture a number out of a string. Supports positive/negative, decimal, and Scientific Notation
Submitted by
Brombomb
-
3 years ago
1
...
681
682
683
684
685
...
748
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
{foreach
\$
(
.
*
)
as
(?:
\$
(
[^
]
*
)
|
\$
(
.
*
)
=>
\$
(
.
*
)
)
}
(
.
*
)
{
\/
foreach}
/
Uis
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago