Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
Filtering Escape characters
sudha somasundaram
Greenhorn
Posts: 1
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How do filter the escape characters like '&','\',''','"',.... from the text and display a text free from escape characters .
Campbell Ritchie
Marshal
Posts: 79151
377
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Try going through it finding the index of every
\
and deleting the character one beyond that.
There is probably a much better way to do it with regular expressions, but I can never remember how to use regexes. Anybody else know how to do it?
CR
Campbell Ritchie
Marshal
Posts: 79151
377
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Just next to your
thread
, there is
this one, about something very similar.
Please look at that too. See whether my suggestion works at all.
Paddy spent all of his days in the O'Furniture back yard with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
PROBLEM WITH PARSING
Struts tag to print html
html string do not get rendred by browser
Escape HQL Like special characters
How to Retrive '_ ' from database
More...