$ npm install url-regexp
RegExp object to match and validate URL(s).
var URLRegExp = require('url-regexp');
URLRegExp.validate('input string');
URLRegExp.match() will return all valid URLs from the string.
URLRegExp.match('input string');
Download using NPM:
npm install url-regexp
© 2010 - cnpmjs.org x YWFE | Home | YWFE