url-regexp

1.0.2 • Public • Published

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

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i url-regexp

    Weekly Downloads

    448

    Version

    1.0.2

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • gajus