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 11,960 community submitted regex patterns...
1
email validation
PCRE (PHP <7.3)
if you want to validate user mail
Submitted by
amine.hallili@gmail.com
-
9 years ago
1
URL with query
PCRE (PHP <7.3)
validate a url with or without query string and scheme
Submitted by
Ganey
-
9 years ago
1
Website validation
PCRE (PHP <7.3)
Simple website validation for your casual usage
Submitted by
McSwagLord
-
9 years ago
(Last modified a year 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
-
9 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
-
9 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
-
9 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
-
9 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
-
9 years ago
1
CATEGORY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Asterisk channel name
PCRE (PHP <7.3)
Extract channel name from Asterisk channel line
Submitted by
Denis Bondar
-
9 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
-
9 years ago
1
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
WINCOR
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
dates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Url parser
PCRE (PHP <7.3)
Parse url with any complexity
Submitted by
Bohdanov Mikhail
-
9 years ago
1
Jaba
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Exact match of whole word or phrase in string
PCRE (PHP <7.3)
word in sentense - true sentense has a word - true There is a word in the sentense - true Sentense wordless - false Sentense is empty - false words are in the sentense - false...
Submitted by
Denisenko Artem
-
9 years ago
1
Parse faxmail log
PCRE (PHP <7.3)
no description available
Submitted by
Michael Blair
-
9 years ago
1
Количество
PCRE (PHP <7.3)
Найти числа, которые обозначают количество.
Submitted by
anonymous
-
9 years ago
1
Get table name from query
PCRE (PHP <7.3)
this extracts the table name in the from or join clause from SQL query
Submitted by
vwei02
-
9 years ago
1
...
466
467
468
469
470
...
598
Community Library Entry
52
Regular Expression
PCRE (PHP <7.3)
/
^
(?'Username'
[
-
\w\d
\.
]
+
?
)
(?:
\s
+
at
\s
+
|
\s
*
@
\s
*
|
\s
*
(?:
[
\[\]
@
]
){3}
\s
*
)
(?'Domain'
[
-
\w\d
\.
]
*
?
)
\s
*
(?:
dot
|
\.
|
(?:
[
\[\]
dot
\.
]
){3,5}
)
\s
*
(?'TLD'
\w
+
)
$
/
gm
Open regex in editor
Description
Matches distorted email addresses and converts them back to real ones.
Submitted by
dislick
-
12 years ago