0.0.6 • Published 7 years ago

e-substring v0.0.6

Weekly downloads
9
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago