export const preprocessStringForComparison = (str: string) => { return str.toLowerCase().replace(/[^a-z0-9]/g, ""); };