This discussion is archived
7 Replies Latest reply: Dec 17, 2012 4:53 AM by EJP RSS

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

979818 Newbie
Currently Being Moderated
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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points