Returns a new string with all occurrences of pattern removed.
pattern
@useResult String removeAll(Pattern? pattern) { if (pattern == null) { return this; } return replaceAll(pattern, ''); }