replaceAll() method takes a string or regular expression, called the pattern, as its first argument. The second argument is the pattern's replacement. Given the first and second argument,
replaceAll() returns a new string that will be the source string with all instances of the pattern swapped for the replacement. The source string is not affected.