pub fn middle_dot_replace(input: &str) -> String