今天要写一个全文检索替换玩个正则试试
public static String replaceIgnoreCaseReplace(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;
}