Online Java replaceAll() function

replaceAll - Replaces each substring of this string that matches the given regular expression with the given replacement


Run on Java version: