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
Community Patterns
Search among 9,640 community submitted regex patterns...
-2
Extract email client inserted "On <DATE>, <SENDER> wrote:"
PCRE (PHP <7.3)
Email clients add this line, call it "sender wrote" to reply emails.
Submitted by
Vlad Burca
-
9 years ago
1
Extract email client inserted reply line "On <DATE>, <SENDER> wrote:"
PCRE (PHP <7.3)
Email clients insert the "sender wrote" line to email replies.
Submitted by
Vlad Burca
-
9 years ago
-2
Name
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
9 years ago
1
Css Splitter
PCRE (PHP <7.3)
Splits the css code into two blocks. (comments|selector block)
Submitted by
@Silent_Coder
-
9 years ago
1
BIGipServerPool Parsing
PCRE (PHP <7.3)
Parse for the BIGipServerPool set by F5 load balancers
Submitted by
Nathan Baker
-
9 years ago
1
Käyttäjätunnus
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
SIP Address Validator
PCRE (PHP <7.3)
Validates SIP(Session Initiation Protocol) Addresses
Submitted by
Tarun Telang
-
9 years ago
2
paren strip test
PCRE (PHP <7.3)
paren strip test
Submitted by
marie bacuno
-
9 years ago
1
Find any version of US country name in address string
PCRE (PHP <7.3)
Given a string that represents a location in the USA, find any version of the USA country name as one would expect at the end of that string. Does not match on if it finds it elsewhere such as a freeway name or the "us" in the city of "Russellville".
Submitted by
Bobby
-
9 years ago
0
Tele
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
9 years ago
1
Regex to replace alert
PCRE (PHP <7.3)
foo
Submitted by
anonymous
-
9 years ago
1
Achar dominios
PCRE (PHP <7.3)
no description available
Submitted by
BrineDev
-
9 years ago
1
win path
PCRE (PHP <7.3)
no description available
Submitted by
Dragan
-
9 years ago
2
Matches first word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
aliexpres
PCRE (PHP <7.3)
test z wyrażeniem regularnym
Submitted by
diox
-
9 years ago
0
hhh
PCRE (PHP <7.3)
Fghh
Submitted by
ggj
-
9 years ago
0
Jeny
PCRE (PHP <7.3)
132
Submitted by
Renderlife
-
9 years ago
1
hashtag and user tag regex
PCRE (PHP <7.3)
This regular expression can be used to find tags and hashtags in a string. It assumes that a username can contain both underscores and points (.) and that hashtags can only contain letters
Submitted by
Luca Simonetti
-
9 years ago
0
replace &ldquo with doublequotes
PCRE (PHP <7.3)
replace tag with doublequotes regex
Submitted by
anonymous
-
9 years ago
1
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
p.borecki
-
9 years ago
1
...
452
453
454
455
456
...
482
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