Hi,
Thank You for taking the time to read my post.
Could someone please post a brief example of using StringRegExpReplace() to replace a word at a specific count.
For example I'm trying to replace only the 2nd instance of the word "Dog" with "Turtle" in the string below.
Thank You for taking the time to read my post.
Could someone please post a brief example of using StringRegExpReplace() to replace a word at a specific count.
For example I'm trying to replace only the 2nd instance of the word "Dog" with "Turtle" in the string below.
[ autoit ]
$sStr = "CatDogMouseBirdHorseDogBirdHorseMouseBirdDogAnt"