UPDATE: Hi Pascal, Thanks for the quick reply, This is almost what I wanted. The newlink is different for each tag, can you please help me to do that.
Thanks Micheal
All i need to do is iterate over all the link tags that appear in the input String, grab their value, and replace with a different link with out disturbing the link text
Any help would be greatly appreciated.
Thanks
Hi,
I am new using htmlParser in Java, please help me with this condition.
htmlString = <a class="user" href="">first name</a> posted on <a class="user" href="">Test Test</a>'s wiki entry, <a href="http://localhost:8080/b/lll/ddd">werwrwrwerwerwer</a>, in
I need to replace the href
link in <a class="user" href="">
to another link in the tag.
Thanks, Micheal