fn regex_replace_exp(
    input: &str,
    pattern: &mut RegexBuilder,
    replace_with: &str
) -> String