If you changed my code from
Response.Write reIn.Replace( input, "$1 " )
reIn.Replace( input, "$1 " )
then you have done exactly as both Doug and I suspected.
And you could get rid of the error by coding ANY of my suggested fixes:
reIn.Replace input, "$1"
Call reIn.Replace( input, "$1")
dummy = reIn.Replace( input, "$1")
BUT NONE OF THOSE WILL HELP YOU!
I think you are under the impression that the code reIn.Replace
is going to *CHANGE* the contents of the input
variable. NO NO NO! NOT AT ALL!
If you WANTED that variable to be changed, you would need to code
input = reIn.Replace( input, "$1 " )
And now you *ARE* using the function *AS* a function, so no more complaints about the parentheses usage.
But next time, don't spend so much time spinning your wheels. If you can post a problem and show code, surely you can post an attempt at fixing the problem that includes code. Just make sure the code doesn't give away company secrets. (That probably aren't all that secret, anyway.)