Socket
Book a DemoInstallSign in
Socket

url-regexp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

url-regexp

RegExp object to match and validate URL(s).

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
938
20.72%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

regex

FAQs

Package last updated on 22 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts