Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

regex, String.replaceAll, ...

807597Apr 28 2002 — edited Feb 29 2008
hi guys

well, im kinda confused since im new to java anymore.. but i can bring that stuff to work..
i want to replace a ' with a \' - sounds simple.. but it isnt..

i tried tons of possibilities - but none worked..
can someone send me a sourcesnippet using String.replaceAll(String,String)?

thx
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2008
Added on Apr 28 2002
20 comments
390 views