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...
1
Youtube ID
PCRE (PHP <7.3)
get youtube video ID
Submitted by
anonymous
-
9 years ago
1
Validate City Names
ECMAScript (JavaScript)
Validate City Names (For USA/ Other country)
Submitted by
Ashish
-
9 years ago
1
Name Initials
ECMAScript (JavaScript)
Matches 2 or 3 initials from a name. If there is a "," and suffix like Jr., it does not include that in the result.
Submitted by
Brad M.
-
9 years ago
1
Floating Point
ECMAScript (JavaScript)
Tests a floating point number
Submitted by
Josh L. Rasmussen
-
9 years ago
3
Currencies
PCRE (PHP <7.3)
Matches numbers formatted like currencies
Submitted by
elgehelge
-
9 years ago
0
Clojure
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Parse date between 1000 and 2012 in format(YYYY/MM/DD HH:MM)
PCRE (PHP <7.3)
This my first regExp)
Submitted by
Andy
-
9 years ago
1
BEM for css
PCRE (PHP <7.3)
no description available
Submitted by
giacomozinetti
-
9 years ago
-2
domain name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
hosts file parser
PCRE (PHP <7.3)
This expression parses hosts file lines and extracts IP, domains, commented lines. Yet doesn't support ending comments.
Submitted by
Jarek Wasilewski
-
9 years ago
1
git://git.apache.org/aurora.git
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-1
Integers and Decimals
PCRE (PHP <7.3)
Matches integers and decimals with or without thousands grouping.
Submitted by
Franz Alex Gaisie-Essifie
-
9 years ago
1
ip/host:port parser (proxy lists)
PCRE (PHP <7.3)
simple ip:port or host:port parser capturing ip or host and port, usually used for proxy lists
Submitted by
The Voider
-
9 years ago
4
TV series season and episode names
PCRE (PHP <7.3)
This regex matches against season and series names
Submitted by
mikey
-
9 years ago
1
Shortcode_filter
PCRE (PHP <7.3)
CLeans your HTML code from shortcodes and images :)
Submitted by
Colta Victor
-
9 years ago
1
Matches Content-Type field of HTTP response
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
try1
ECMAScript (JavaScript)
try1
Submitted by
anonymous
-
9 years ago
1
Anagram match of "poultryoutwitsants"
PCRE (PHP <7.3)
this is an anagram matcher to run upon words
Submitted by
sp90
-
9 years ago
1
get class
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
aaaaaaaaaaa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
816
817
818
819
820
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
[
a
-
zA
-
Z
]
[
\w
\-
_.:
]
*
)
\s
*
=
\s
*
"
(
(
[^
\\
"
]
|
\\
"
|
\\
)*
)
"
/
gm
Open regex in editor
Description
Get HTML attribute with /" inside
Submitted by
anonymous
-
3 years ago
(Last modified 2 years ago)