Replace all space onyl one space

Hi @Murat

Output = System.Text.RegularExpressions.Regex.Replace(Input, "\s+", " ").Trim()

Regards,