fn regex_replace_dmnl(input: &str, pattern: &str, replace_with: &str) -> String