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 13,040 community submitted regex patterns...
1
email validation
PCRE (PHP <7.3)
if you want to validate user mail
Submitted by
amine.hallili@gmail.com
-
8 years ago
1
URL with query
PCRE (PHP <7.3)
validate a url with or without query string and scheme
Submitted by
Ganey
-
8 years ago
1
Website validation
PCRE (PHP <7.3)
Simple website validation for your casual usage
Submitted by
McSwagLord
-
8 years ago
(Last modified a year ago)
1
DevExpress AutoFilter: Keyword
ECMAScript (JavaScript)
Identify if string contains filter keyword
Submitted by
lina
-
8 years ago
0
Reg Exp to Remove all special Characters
PCRE (PHP <7.3)
This regular expression removes all special characters including whitespaces which are allowed in windows path name, file name and folder name.
Submitted by
Anirudh
-
8 years ago
4
replace-last-comma with semicolon
PCRE (PHP <7.3)
replace-last-comma with semicolon similar to http://stackoverflow.com/questions/3829483/how-to-replace-last-occurrence-of-characters-in-a-string-using-javascript
Submitted by
Michael Freidgeim
-
8 years ago
0
replace-last-comma with semicolon
PCRE (PHP <7.3)
replace-last-comma with semicolon similar to http://stackoverflow.com/questions/3829483/how-to-replace-last-occurrence-of-characters-in-a-string-using-javascript
Submitted by
Michael Freidgeim
-
8 years ago
1
DD-MM-YYYY
ECMAScript (JavaScript)
Any date that as a valid month, a valid date and a year composed of 4 numbers. You can change the '-' caracter to any divider you want.
Submitted by
anonymous
-
8 years ago
0
DD-MM-YYYY
ECMAScript (JavaScript)
Any date that as a valid month, a valid date and a year composed of 4 numbers. You can change the '-' caracter to any divider you want.
Submitted by
anonymous
-
8 years ago
1
Text to Sentence with URLs
PCRE (PHP <7.3)
Text to sentence is easy, but not when there are URLs or website names inside the text.
Submitted by
khpatel4991
-
8 years ago
2
Standard first and/or last name
PCRE (PHP <7.3)
This just checks for case insensitive first name, last name, or both.
Submitted by
Josh Garnick
-
8 years ago
1
CATEGORY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Asterisk channel name
PCRE (PHP <7.3)
Extract channel name from Asterisk channel line
Submitted by
Denis Bondar
-
8 years ago
0
Find in string template with regular expression
PCRE (PHP <7.3)
In string find regular expression or data type with limiters (start and end or summary count of symbols)
Submitted by
Bohdanov Mikhail
-
8 years ago
1
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
WINCOR
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
dates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
dd/mm/yyyy inc. LeapYears
ECMAScript (JavaScript)
1900 - 2015. Useful for Birthdates
Submitted by
ChrisAbra
-
8 years ago
1
Url parser
PCRE (PHP <7.3)
Parse url with any complexity
Submitted by
Bohdanov Mikhail
-
8 years ago
1
Jaba
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
475
476
477
478
479
...
652
Url parser
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
(?:
(?:
(
[^
:
\/\/
]
+
)
:
)?
\/\/
)?
(?:
(
[
\w
\-
.@
]
+
)
(?:
:
(
.
*
)
)?
@
)?
(
[
\w
-.
]
+
)
(?:
:
(
[
0
-
9
]
+
)
)?
)?
(?:
(
\/
.
*
?
\/
?
)
(?:
(
[
\w
-.
]
+
)
)?
)?
(?:
\?
(
[^
#
]
*
)
)?
(?:
#
(
.
*
)
)?
$
/
gmi
Open regex in editor
Description
Parse url with any complexity
Submitted by
Bohdanov Mikhail
-
8 years ago