cancel
Showing results for 
Search instead for 
Did you mean: 

An invalid XML character (Unicode: 0x13) was found in the element content of the document

brianrandolph
New Contributor III

Any thoughts on how to replace control characters in a string?

I was going for $address2.replaceAll($address2.findCharCode(13),“”) or something like that. Any elegant solutions here? Is it possible to use a regular expression?

1 REPLY 1

del
Contributor III

Brian, I have a proof expression somewhere in my pipelines for all invalid XML characters, but I have so many pipelines, I just can’t find it right now. However, I think I started with this StackOverflow post/answer as a base to get to what I needed.