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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 8,260 community submitted regex patterns...
1
Double dollar delimited centred LaTeX equation
Python
Find all instances of a double dollar delimited centred LaTeX equation, for use with e.g. KaTeX
Submitted by
drewsberry
-
10 years ago
1
http://stackoverflow.com/questions/26108562/python-regex-trying-to-cre
Python
no description available
Submitted by
anonymous
-
10 years ago
1
hr
ECMAScript (JavaScript)
no description available
Submitted by
artem
-
10 years ago
1
Tv Series name extractor
Python
Extract from a tv series file the name of the series, the season, episode and the title.
Submitted by
dshinigami
-
10 years ago
1
Finding URLs within full text
ECMAScript (JavaScript)
Finds URLs in a larger body of text. URLs may or may not be enclosed in punctuation, such as parentheses, that are not part of the URL.
Submitted by
D0nB1z
-
10 years ago
1
nginx log parser
Python
separate nginx log into database table-style fields
Submitted by
wgzhao
-
10 years ago
1
Simple script command and parameter grabber
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Get the command
ECMAScript (JavaScript)
Simply gets the command from a script command, automatically removes unwanted spaces.
Submitted by
anonymous
-
10 years ago
1
e164_basic
ECMAScript (JavaScript)
e164_basic
Submitted by
anonymous
-
10 years ago
1
Url regex testing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
ECMAScript (JavaScript)
Submitted by
-
10 years ago
1
f
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Failure case for repeated strings
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Remove invalid characters and autotrim
ECMAScript (JavaScript)
remove the multiline switch
Submitted by
iamtheauthor
-
10 years ago
1
Brazilian phone numbers
Python
no description available
Submitted by
rafaelverger
-
10 years ago
1
date validation
ECMAScript (JavaScript)
Validation for date 2013.12.24 14:50
Submitted by
axelprog
-
10 years ago
1
Regular Expression for Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have resolved the issue for leap Year and month ending day as well.
Submitted by
Priyanka Khadilkar
-
10 years ago
1
Date validation
ECMAScript (JavaScript)
A regular expression to validate a Date in format DD/MM/YYYY
Submitted by
Felipe Montaña
-
10 years ago
1
match sequential characters
ECMAScript (JavaScript)
HI, I'm looking for RegX to match words with more than two sequential characters
Submitted by
JC
-
10 years ago
1
Exploding regex
Python
no description available
Submitted by
anonymous
-
10 years ago
1
...
280
281
282
283
284
...
413
URL Extract base url (https://google.com) and domain (google.com) from URL String
0
Regular Expression
Python
r"
(?P<url>
(?:
https
?
:
\/\/
)?
(?:
[^
@
\/
\n
]
+
@
)?
(?:
www
\.
)?
(?P<domain>
[^
:
\/
?
\n
]
+
)
)
/
*
.
*
"
g
Open regex in editor
Description
For extracting the base URL and domain from a URL String
Submitted by
QuickRegEx
-
3 years ago