[fix] Regex for the collation replacement (it took trailing non-space characters)