How To Effectively Use String.replaceall In Java To Modify Urls