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,000 community submitted regex patterns...
1
Domain
ECMAScript (JavaScript)
Will return domain portion of a url: Example: http://www.jkrowlings.com/books Returns: www.jkrowlings.com
Submitted by
Scott Burrows
-
9 years ago
1
URL detector
PCRE (PHP <7.3)
no description available
Submitted by
pawel
-
9 years ago
1
Get text within pipe placeholders
PCRE (PHP <7.3)
Will return all matches of text between pipe placeholders, e.g. "This text has |two| placeholders |inside| of it" will return matches for two and inside.
Submitted by
Eddie Y
-
9 years ago
1
Find all Internet Explorer 11.x pkgmgr packages
PCRE (PHP <7.3)
This regex can be used to find all of the packages (.mum) files in the WINDIR%\servicing\Packages directory. I used it to remove the update packages from Winodws 7 pkgmgr /up:"filename" /norestart /quiet
Submitted by
Pressanykey
-
9 years ago
1
US Zip Code Validation
ECMAScript (JavaScript)
5 digits and no 0 5/4 times
Submitted by
Ashish
-
9 years ago
1
email
PCRE (PHP <7.3)
accept empty spaces at start and end
Submitted by
Emanuel Lima (jose.emanuel.lima@gmail.com)
-
9 years ago
1
viduregex
PCRE (PHP <7.3)
cac vi du ve bat cac chuoi o regex
Submitted by
thieutham
-
9 years ago
1
viduregex
PCRE (PHP <7.3)
cac vi du ve bat cac chuoi o regex
Submitted by
thieutham
-
9 years ago
1
Find your Db from a sql query
PCRE (PHP <7.3)
A regex to find the db wich you're quering against to.
Submitted by
kkrico
-
9 years ago
1
Get a xls file from URL
PCRE (PHP <7.3)
no description available
Submitted by
Huan
-
9 years ago
1
gfghfgdf
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
get class
PCRE (PHP <7.3)
no description available
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
try1
ECMAScript (JavaScript)
try1
Submitted by
anonymous
-
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
git://git.apache.org/aurora.git
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
BEM for css
PCRE (PHP <7.3)
no description available
Submitted by
giacomozinetti
-
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
...
606
607
608
609
610
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
(
[
a
-
zA
-
Z0
-
9
]
*
)
(
[^
a
-
zA
-
Z0
-
9
]
)
(
[
a
-
zA
-
Z0
-
9
]
*
)
(
[^
a
-
zA
-
Z0
-
9
]
)
.
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago