String.replaceAll()和replaceFirst()这是最简单直接的方法,直接在字符串对象上调用,replaceAll(Stringregex,Stringreplacement)功能:使用给定的正则表达式re...