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!

Fastest way to remove html tags except url in href from string using java

979818Dec 13 2012 — edited Dec 17 2012
Hi All,

Please suggest the, fastest way to remove html tags (stripe) except url in href of an anchor tag from string using java.

Please help me with the best solution as I use parser but it's taking time to remove the html tags from string of file.

I want the program should give the performance as 1 millisecond for 2kb file.


Please help me out... Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2013
Added on Dec 13 2012
7 comments
1,351 views