[thelist] Hello Everyone

Bobby Davis BDavis at municode.com
Fri Apr 9 10:35:55 CDT 2004


Hello everyone,

My name is Bobby Davis I am a web developer in Tallahassee,Fl 

I am working with Regex in vbscript and I have hit a brick wall.

I am trying to replace on instance of a match.submatches(4) in a string based on the counter when it hits that match.submatches(4).

However when I use the Replace Function "Mystring = Replace(Mystring,Match.submatches(4),ReplaceValue)"

It will replace everything in the string that has the same value as the Match.submatches(4).

Is there a way to only replace this certain instance this certain submatch???

Thanks, in advance for the suggestions.

Let me know if you would like to see my code.

Cheers,
Bobby Davis






More information about the thelist mailing list