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
Mio- schedule task log parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Get value from string
ECMAScript (JavaScript)
Used to get a value from a class e.g.: [...] class="font-12"[...] This regEx will receive "12" given the content of the class
Submitted by
Gabriel R. Sezefredo
-
9 years ago
1
LMC date match
ECMAScript (JavaScript)
no description available
Submitted by
David Zurcher
-
9 years ago
4
Credit Card Number
PCRE (PHP <7.3)
Validates Credit Card Numbers of different type. Supports Visa, MasterCard, American Express, Diners Club, Discover and JCB Taken from http://www.regular-expressions.info/creditcard.html If you want to support only a particular type, customise it based on following....
Submitted by
Ehsan
-
9 years ago
0
Name
ECMAScript (JavaScript)
Simple name matching Matches english names only, you may add international characters to list of characters.
Submitted by
Ehsan
-
9 years ago
1
url
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
Detect HTML Linebreak Tags
ECMAScript (JavaScript)
Detect various possible HTML linebreak tags (eg. )
Submitted by
@benhodgson
-
9 years ago
1
Extract a UUID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
regrex expression
PCRE (PHP <7.3)
http://www.r-project.org/mail.html
Submitted by
Michael Tan
-
9 years ago
1
From HireDesk Select to Drupal Select List
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
suricata OSSIM regex-1
Python
no description available
Submitted by
anonymous
-
9 years ago
25
grab valid css rules and properties
ECMAScript (JavaScript)
no description available
Submitted by
Pavel Dominguez
-
9 years ago
0
Matching lines that starts with -
PCRE (PHP <7.3)
It may be useful inorder to replace those lines with li
Submitted by
Said Bakr
-
9 years ago
1
URL
PCRE (PHP <7.3)
Gets all parts of URL including port, username, password, fragment, query, and path
Submitted by
Vihan Bhargava
-
9 years ago
1
nwtis_app1_admin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Zipcode Mundial
PCRE (PHP <7.3)
no description available
Submitted by
Mariela Gonzalez
-
9 years ago
1
Replace anonymous actions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Port mapping
PCRE (PHP <7.3)
no description available
Submitted by
yord
-
9 years ago
-3
remove facebook urls from html
ECMAScript (JavaScript)
This will remove all facebook urls from a HTML string
Submitted by
Russell Miller
-
9 years ago
1
Polynomial matcher
PCRE (PHP <7.3)
Matches every polynomial you want ;)
Submitted by
Stefan Baumann
-
9 years ago
1
...
843
844
845
846
847
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
http
|
https
)
\:\/\/
(?:
(
.
+
?
)
(?:
\:
(
.
+
?
)
)?
\@
)?
(
(?:
[
\w
-
]
+
\.
)+
)
(
[
A
-
Za
-
z0
-
9
]
+
)
(?:
\:
(
\d
{2,5}
)
)?
(
(?:
\/
[
\w
-%.
]
*
)+
)?
(
\?
(?:
[
\w
-%&="'+,
]
+
)?
)?
(
\#
(?:
[^
#
]
+
)?
)?
/
Open regex in editor
Description
Gets all parts of URL including port, username, password, fragment, query, and path
Submitted by
Vihan Bhargava
-
9 years ago