?/**不區分大小寫的替換**/
??? public? String IgnoreCaseReplace(String source, String oldstring,String newstring)
?? {
????? Pattern p = Pattern.compile(oldstring, Pattern.CASE_INSENSITIVE);
????? Matcher m = p.matcher(source);
????? String ret=m.replaceAll(newstring);
????? return ret;
?? }