Skip to content

Lightweight JavaScript library for extract URLs from strings

Notifications You must be signed in to change notification settings

joaom182/string-url-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

string-url-extractor

Lightweight JavaScript library for extract URLs from strings

Usage

const stringUrlExtractor = require('string-url-extractor');

let text = 'Let`s extract some urls from this string, like http://some-url.com, https://some-url.com/path, some-url.io, www.some-url.com, ftp://some.ftp.com';

console.log(stringUrlExtractor(text));
// ['http://some-url.com', 'https://some-url.com/path', 'some-url.io', 'www.some-url.com', 'ftp://some.ftp.com'];

About

Lightweight JavaScript library for extract URLs from strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published