Skip to Main Content

Java Programming

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!

remove special characters using core java

807605Jun 12 2007 — edited Jun 12 2007
Hi;

How can we remove the extra characters(-,_,=) in a string using core java.We can do it using validators in struts but i need to do it using core java.So Any body Plz show me an option.

Ex: 1234.56-789_12

I need to return the above String as 12345678912.

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2007
Added on Jun 12 2007
7 comments
237 views