Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# regex replace all line breaks

Regex.Replace((text ?? "").Replace("'", @"'").Trim(), @"[
]+", " ");
 
PREVIOUS NEXT
Tagged: #regex #replace #line #breaks
ADD COMMENT
Topic
Name
2+1 =