Searching and replacing HTML image src links in Java

abviantos

New Member
I am looking for a way how to search and replace the HTML image links in Java.Example: Before\[code\]<li><a href="http://stackoverflow.com/questions/15680631/#nogo" tabindex="1">2<img src="http://stackoverflow.com/questions/15680631/C:/thesis/image_before.jpg" alt="landscape image 2" title="landscape image 2" /></a></li>\[/code\]After\[code\]<li><a href="http://stackoverflow.com/questions/15680631/#nogo" tabindex="1">2<img src="http://stackoverflow.com/questions/15680631/C:/thesis/image_after.jpg" alt="landscape image 2" title="landscape image 2" /></a></li>\[/code\]Supossingly I have all the new image links stored in ArrayList NewImageLinks, how can I do it? Thanks for help.
 
Back
Top