Replace all escape sequences with non-escaped equivalent strings in java

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-06-10T13:17:26Z Indexed on 2010/06/10 13:23 UTC
Read the original article Hit count: 240

Filed under:
|
|

I have a string like this:

<![CDATA[<ClinicalDocument>rest of CCD here</ClinicalDocument>]]>

I'd like to replace the escape sequences with their non-escaped characters, to end up with:

<![CDATA[<ClinicalDocument>rest of CCD here</ClinicalDocument>]]>

© Stack Overflow or respective owner

Related posts about java

Related posts about regex