Regular Expressions 101

Library entries

Extract URL, FTP, Mailto

Vote

1

Regular Expression
javascript

/
(((ftp|https?):\/\/)[\-\w@:%_\+.~#?,&\/\/=]+)|((mailto:)?[_.\w-]+@([\w][\w\-]+\.)+[a-zA-Z]{2,3})
/
g

Description

Loading markdown...
Submitted by Kumar Sundaram - 5 years ago