0.0.6 • Published 6 years ago

e-substring v0.0.6

Weekly downloads
9
License
MIT
Repository
github
Last release
6 years ago

English | 简体中文

e-substring

Extract characters in a string that are between two specified strings.

Installation

Using npm:

$ npm i -g npm
$ npm i --save e-substring

In Node.js:

var substring = require('e-substring')
var str = '<img src="https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/logo_white_fe6da1ec.png">'
console.log(substring(str, 'https', '.png'))

Output:

$ https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/logo_white_fe6da1ec.png

License

MIT

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago