I want to keep HTML, CSS, JS or whatever inside as it is and to convert the text resides outside these brackets into ASCII Characters.
For example looking for: <b>Hello World</b>
Required output is: <b> Hello World </b>
What I experimented so far is:
I applied ASCII Characters with java code e.g.: str.replace("H", "H") but certainly it's changing both inside and outside tags as:
<b> Hello World </b>
It prints only <b>Hello World</b> rather then applying as html code.
I am looking for the solution to keep html, css, javascript or anything unchanged and rest to be converted in ASCII Characters
Please NOTE: Hello World is dynamic value
