Hi,
Can you try the following expression?
System.Text.RegularExpressions.Regex.Replace(yourString,"\r?\n","")
Regards,