Skip to main content

remove_symbols

Function remove_symbols 

Source
pub fn remove_symbols(rg: &str, uf: State) -> String
Expand description

Strip dots, dashes, slashes and whitespace. For SP, preserve a trailing 'X' (case-insensitive, normalized to uppercase). For other UFs, drop non-digits.