IF I have a long html
string like
String code = "<table cellspacing=\"0\" border=\"0\" cellpadding=\"5\"> <tr> <td class=\"headingImageBox\" align=\"center\"><b>2000 GMC Yukon XL</b> </td> </tr> <tr> <td align=center class=\"contentImageBox\">First Row<br> <img src=\"../../../images/2000-gmc-suburban/1strow/main_ip_im.jpg\" width=350 usemap=\"#mainip2000-gmc-suburban\" border=\"0\"><br> <a href=\"#top\"><img src=\"../../../html_images/top_of_page.gif\" width=\"100\" height=\"19\" border=\"0\"></a><map name=\"mainip2000-gmc-suburban\"><area shape=\"rect\" coords=\"82,109,111,138\" href=\"#steering\" target=\"_self\"><area shape=\"rect\" coords=\"168,88,197,117\" href=\"#stereo\" target=\"_self\"><area shape=\"rect\" coords=\"263,92,292,121\" href=\"#gl "
i wanna write a method to replace all the gif to jjpg. What's the most efficient way to do that?
Thanks!