code: public static Expression regexpReplace(Expression expression, String pattern, String repl) {
          return x("REGEXP_REPLACE(" + expression.toString() + ", \"" + pattern + "\", \"" + repl + "\")");
      }
docs: Returned expression results in a new string with all occurrences of pattern replaced with repl.