Creates a copy of the target column in which each string has the first occurence of the regex pattern replaced with the replacement substring.
h2o.sub(pattern, replacement, x, ignore.case = FALSE)
The pattern to replace.
The replacement pattern.
The column on which to operate.
Case sensitive or not