replaceMany()
Replace multiple instances of a target
string with a replacement
string.
subject
.target
within subject
.Infinity
target
to replace. If negative it indicates how many occurrences of target
from the end to not replace. If not specified all occurrences will be replaced.subject
with a maximum of opt_limit
number of occurrences of target
replaced by replacement
.