preprocess_string function

Preprocess a string, removing special characters and handling abbreviations.