Groovy String Replace Regex, By placing ~ infront of a string, you can define regular expressions.