findAndReplaceDOMText icon indicating copy to clipboard operation
findAndReplaceDOMText copied to clipboard

Replace elements with specific index

Open isaac-holt opened this issue 5 years ago • 0 comments

Is it possible to instead of replacing of all of the matched nodes to replace only one that matches specific criteria, e.g. is the 1st one to match? i.e. 'The quick brown fox jumped over the lazy dog over the bridge' - here I want to replace say the second 'the' rather than all of them.

Thanks in advance.

isaac-holt avatar Apr 06 '20 19:04 isaac-holt