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. Click
here
to read more.
Community Patterns
Search among 15,520 community submitted regex patterns...
2
Vimeo Video ID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Email validator JavaScript
ECMAScript (JavaScript)
Validates all possible emails with western and cyrilic chars.
Submitted by
hudsonvsm
-
9 years ago
2
date formatting mm/dd/yyyy format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
extract twitter username from url
ECMAScript (JavaScript)
Adopted one of answers from: http://stackoverflow.com/questions/5948051/regex-extract-twitterusername-from-url
Submitted by
anonymous
-
9 years ago
2
Get email info
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address
Submitted by
Matías Pizarro González
-
9 years ago
2
TimeFormatParser
PCRE (PHP <7.3)
This allows to the programer to match the time format groups, in a way that allow to discard some parts of the format. E.g. I have a format HhMmSs and i want to ignore the 'Ss' part from the format when I have no Seconds
Submitted by
Fausto A. Guerrero
-
9 years ago
2
CSS URL parser tilde only
ECMAScript (JavaScript)
Find any url('~filename.jpg'). URL must contain tilde
Submitted by
@adjavaherian
-
9 years ago
2
Full URI Mapping
PCRE (PHP <7.3)
Everything, including proto, user:pass, host, query params and anchors
Submitted by
baadf00d
-
9 years ago
2
Unicode username
ECMAScript (JavaScript)
Unicode user name check with som allowed non-alhanum characters
Submitted by
Martin Bucko
-
9 years ago
2
Portuguese phone numbers
ECMAScript (JavaScript)
Matches Portuguese phone numbers.
Submitted by
github.com/luis140219
-
9 years ago
2
remove texto entre <>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Apache2 Access Log parsing
PCRE (PHP <7.3)
This breaks down an Apache2 access log into 9 parts. I use this for analyzing content in my webserver logs.
Submitted by
Kevin Loverde
-
9 years ago
2
Email Domain Regex
PCRE (PHP <7.3)
A pattern to match the email domain suffix
Submitted by
doug
-
9 years ago
2
find numbers with 2 commas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
IP with Subnet
PCRE (PHP <7.3)
IP address with Subnet
Submitted by
Matt Masse
-
9 years ago
2
Date between 1950 and 2050
ECMAScript (JavaScript)
Date in format MM-dd-yyyy
Submitted by
Daniel Quijada
-
9 years ago
2
notepad++
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
replace any character with more than two occurrence
ECMAScript (JavaScript)
no description available
Submitted by
papky
-
8 years ago
2
Search src from <img> tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
HTML comments
PCRE (PHP <7.3)
Groups HTML comments that are between .
Submitted by
Greaka
-
8 years ago
1
...
737
738
739
740
741
...
776
SFTP or FTP url
2
Regular Expression
PCRE (PHP <7.3)
/
(?<protocol>
s
?
ftp
)
:
\/\/
(?:
(?<user>
[^
@
\s
]
+
)
@
)?
(?<host>
[^
\?
\s
\:
]
+
)
(?:
\:
(?<port>
[
0
-
9
]
+
)
)?
(?:
\?
(?<password>
.
+
)
)?
/
g
Open regex in editor
Description
Parse an SFTP or FTP url and brak it into named capture groups.
Submitted by
Cullen Johnson
-
10 years ago