index-of-regex
Install
npm i index-of-regex
Usage
//es6 const indexOfRegex lastIndexOfRegex = const str = '123abcabc' // 3 //6
Both take startPosition
as 3rd argument.
Original credit to Jason Bunting: http://stackoverflow.com/a/274094
npm i index-of-regex
//es6 const indexOfRegex lastIndexOfRegex = const str = '123abcabc' // 3 //6
Both take startPosition
as 3rd argument.
Original credit to Jason Bunting: http://stackoverflow.com/a/274094
npm i index-of-regex
3
1.0.0
MIT