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
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Java in General
Filtering Escape characters
sudha somasundaram
Greenhorn
Posts: 1
posted 18 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: 79964
396
posted 18 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: 79964
396
posted 18 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.
Can't .... do .... plaid .... So I did this tiny ad instead:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
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...