sorry about the title, but the stupid thing did not accept anything. I am triyng to do this
Dim myString, myResult
myString = "Hello World! 1234 Hello World! 4321 Hello World! 6789"
Set myRegex = New RegExp
myRegex.Global = true
myRegex.IgnoreCase = true
myRegex.Pattern = "([0-9]+)"
myResult = myRegex.Replace(myString, StrReverse("$1"))
I want all the numbers to reverse I want the string to look like this "Hello World! 4321 Hello World! 1234 Hello World! 9876" but all I get is "1$"
Thanks :-)