Find all urls in a text
var find = require('find-urls');
var urls = find('Some http://google.com/ and http://segment.io.');
// => ['http://google.com/', 'http://segment.io']
Install with component(1):
$ component install juliangruber/find-urls
Return an array of urls inside text
.
Duplicates are removed and urls that end with punctuation are cleaned up.
MIT