replaceAll( str, regex, replacement )str (String)regex (String)strreplacement (String)str, but with all matches of
regex replaced by replacementreplaceAll("1-2--3---4","--*","x") = "1x2x3x4"String replaceAll(String, String, String)