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,920 community submitted regex patterns...
1
Giphy ID Regex
PCRE (PHP <7.3)
Get the ID from the multiple Giphy URLs
Submitted by
anonymous
-
8 years ago
1
Find label tags without for attributes
PCRE (PHP <7.3)
no description available
Submitted by
DevlshOne
-
8 years ago
0
Password Security and Validation
PCRE (PHP <7.3)
A password regex that has to have 6 characters at minimum, not spaces allowed, and at least 1 special character, 1 uppercase letter, 1 lowercase letter and a digit
Submitted by
MestreMurai
-
8 years ago
1
validate 14,9 decimals
PCRE (PHP <7.3)
validate 14,9 decimals
Submitted by
Ganey
-
8 years ago
1
Password Security and Validation
PCRE (PHP <7.3)
A password regex that has to have at least 1 uppercase caracter, 1 lowercase caracter, 1 special caracter and a digit
Submitted by
MestreMurai
-
8 years ago
1
IRCCloud extract usernames
PCRE (PHP <7.3)
Extract the usernames out of a log dump from IRCCloud
Submitted by
Ivoah
-
8 years ago
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)
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
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
...
464
465
466
467
468
...
596
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
a
-
zA
-
Z0
-
9.!#$%&'*+
\/
=?^_`{|}~-
]
+
@
[
a
-
zA
-
Z0
-
9
]
(?:
[
a
-
zA
-
Z0
-
9-
]
{0,61}
[
a
-
zA
-
Z0
-
9
]
)?
(?:
\.
[
a
-
zA
-
Z0
-
9
]
(?:
[
a
-
zA
-
Z0
-
9-
]
{0,61}
[
a
-
zA
-
Z0
-
9
]
)?
)*
$
/
gm
Open regex in editor
Description
Source
Mozilla
.
Submitted by
anonymous
-
a year ago