replace-nth

replace-nth JS library on GitHub replace-nth JS library on npm Download replace-nth JS library

Replace only specific occurrences of a string. e.g. if the string exists 10 times, you can replace, say, the 3rd and 8th occurrences only, etc. Returns a new string with nth specific matches of a pattern replaced by a replacement. The pattern can be a str

Version 0.2.1 Vulnerabilities 0
replace-nth has no homepage
replace-nth JS library on GitHub
replace-nth JS library on npm
Download replace-nth JS library
Keywords
expressionmatchespatternreregexregexpregularreplacereplacementreplacementsspecificstring