npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

url-regexp

1.0.2

@gajus

npmHomeRepoSnykSocket
Downloads:1055
$ npm install url-regexp
DailyWeeklyMonthlyYearly

URL RegExp

Travis build status NPM version

RegExp object to match and validate URL(s).

Usage

var URLRegExp = require('url-regexp');

Validate URL

URLRegExp.validate('input string');

Match URLs

URLRegExp.match() will return all valid URLs from the string.

URLRegExp.match('input string');

Download

Download using NPM:

npm install url-regexp