well, the pattern specifics need to be slightly more clear
then that list but we can try a example
in your original post you stated
carriage returns,tabs etc
so lets show these replacments.
the pattern to match a carriage return is \r
and the for tab is \t
list of these and many, many more here
and this also
i love this page. use it every day
alright, so take that into effect and use it
Sorry, I hate the with statement.
Function ReplaceTest(str)
'delcare the var needed
Dim regEx
Set regEx = New RegExp
here's is the most important postion of the function obviously
the pattern will seem like gibberish at first but after awhile
it gets to be as any other syntax in your coding
so we have \r and \t for the pattern
regEx.Pattern = "[\r\t]"
regEx.Global = True
very important in vbscript. if this setting "global" is
not true you only get one match and one replacement
regEx.IgnoreCase = True
'apply to value
response.write regEx.Replace(str,"Replaced Here!"

End Function
there is no magic to this or regex in general. the pattern is obviously the tough
beginning but after you read up a bit it really isn't that difficult
____________________________________________________
The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-3811