replaceAll(String regex, String replacement): String
Returns a string where each substring of this string that matches the given regular expression is replaced with the specified replacement value. If no match is found, then the original string is returned.
Input Parameters
regex | String The regular expression to which this string is to be matched. |
replacement | String The string to be substituted for each match. |
Return Value
String The resulting string. |