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...
0
Year/Month/Day parser
PCRE2 (PHP >=7.3)
Parse the years/months/days from a string
Submitted by
anonymous
-
4 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
-
4 years ago
(Last modified 4 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
-
4 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
-
4 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
-
4 years ago
0
Email Parse Zip with Colon (Zip: )
Python
For getting the value after “Zip: “ in a block of text
Submitted by
QuickRegEx
-
4 years ago
0
Email Parse State with Colon (State: )
Python
For getting the value after “State: “ in a block of text
Submitted by
QuickRegEx
-
4 years ago
0
Email Parse City with Colon (City: )
Python
For getting the value after “City: “ in a block of text
Submitted by
QuickRegEx
-
4 years ago
0
Email Parse Phone with Colon (Phone: )
Python
For getting the value after “Phone: “ in a block of text
Submitted by
QuickRegEx
-
4 years ago
0
Email Parse Email with Colon (Email: )
Python
For getting the value after “Email: “ in a block of text
Submitted by
QuickRegEx
-
4 years ago
0
Email Parse Name with Colon (Name: )
Python
For getting the value after “Name: “ in a block of text
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_term (extract UTM Term from a URL String)
Python
Extract utm_term from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_content (extract UTM Content from a URL String)
Python
Extract utm_content from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_campaign (extract UTM Campaign from a URL String)
Python
Extract utm_campaign from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_medium (extract UTM Medium from a URL String)
Python
Extract utm_medium from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_source (extract UTM Source from a URL String)
Python
Extract utm_source from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
Date YYYY-MM-DD | YYYY/MM/DD | YYYY.MM.DD (ex. 2021-12-09) (leading zeros for month and day)
Python
For Dates formatted YYYY-MM-DD separated by Dot (.) Dash(-) or Slash(/) like (2021-04-08) with Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date YYYY-M-D | YYYY/M/D | YYYY.M.D (ex. 2021-9-2) (without leading zeros for month and day)
Python
For Dates formatted YYYY-M-D separated by Dot (.) Dash(-) or Slash(/) like (2021-9-2) without leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
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
-
4 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
-
4 years ago
1
...
221
222
223
224
225
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
\(
\w
*
\(
*
[^
)
]
*
[^
(
]
*
\)
*
\w
*
\)
+
/
gm
Open regex in editor
Description
remove brackets
Submitted by
anonymous
-
6 years ago