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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 13,040 community submitted regex patterns...
-2
Check syntax port ACL VNG
ECMAScript (JavaScript)
no description available
Submitted by
nguyenvq
-
9 years ago
2
csv parsing
PCRE (PHP <7.3)
csv parsing with content quota string
Submitted by
Andrey
-
9 years ago
0
Match IP (ipv4) addresses: [0.0.0.0]-[255.255.255.255]
PCRE (PHP <7.3)
Matches ranges from 0-255 for all four octets. Extra leading or trailing '.' invalidate the match, as do values > 255.
Submitted by
OnlineCop
-
9 years ago
23
userName
PCRE (PHP <7.3)
1-15 alphanumeric login name
Submitted by
gsanchezc
-
9 years ago
0
Check_Email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
matching sentence
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Trim
ECMAScript (JavaScript)
Trims a string without selecting any unnecessary text.
Submitted by
Vihan Bhargava
-
9 years ago
1
Phone Number Extractor
PCRE (PHP <7.3)
no description available
Submitted by
Codedude
-
9 years ago
1
get all files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Match Characters outside list
ECMAScript (JavaScript)
no description available
Submitted by
vikas
-
9 years ago
0
Any mail address
PCRE (PHP <7.3)
Any mail address
Submitted by
Himalay
-
9 years ago
3
split sentence regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Syslog Parser
PCRE (PHP <7.3)
#134# 2015-05-14T21:22:40-04:00 PRODNJ-RPT01 Microsoft-Windows-TaskScheduler Task Scheduler successfully completed task "\WarmUp Vantage" , instance "{E26D061B-15DD-4F58-B80C-4F11225333DF}" , action "D:\warmupscrt\BSAImpersonationIssueFixer.exe" with return code 0.
Submitted by
anonymous
-
9 years ago
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
...
599
600
601
602
603
...
652
URL
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