Re: String newvalue = value.replaceAll("# Java - 爪哇娇娃l*r2004-12-21 08:121 楼what if "value is null"?then newvalue = value.replace(....) will return a NullPointerException