Provided a way to pass in regexes for stripping text