How do I remove &#13 ; from my text file using VBScript Replace() or a regex?

Posted by Eric Lachance on Stack Overflow See other posts from Stack Overflow or by Eric Lachance
Published on 2010-05-26T14:24:48Z Indexed on 2010/05/26 14:31 UTC
Read the original article Hit count: 129

Filed under:
|

Hi!

I'm doing a conversion between two software which both use XML so the actual conversion part is fairly straightforward - adding text here, removing others here, converting a few information. I'm using VBSCript WSH.

The only issue I'm still having is the darn 
 character - that's my problem!

I've tried both strText = Replace(strText, "
", "") and using a regex with Regex.pattern = "
" ... neither works. I also tried replacing char(13), VBCR... nothing seems to detect the actual string itself and not the character it's creating.

Can anyone help me?

© Stack Overflow or respective owner

Related posts about vbscript

Related posts about replace