hi all,

Im trying to replace all mentions of .html in a html fine to .jsp. For example if i had:

Some Text Here
<a href ="page1.html"> Go to Page1

i would want to ONLY replace the .html in the link.

By using:

String replace= src.replaceAll(".html", ".jsp");

i succesfully replace the .html in the link but i also replace the html at the start and at the beginning despite them not having a "." in front of them? Any ideas on how to fix this PLEASE