Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
c# regex replace all line breaks
Jay
Programming language:
C#
2021-05-13 09:25:27
1
Q:
c# regex replace all line breaks
leandro
Code:
C#
2021-03-11 07:11:41
Regex.Replace((
text
?? "").Replace("'", @"\'").Trim(), @"[\r\n]+", " ");
0
Tags
line
replace
Related
for each line in string c#
remove carriage returns from string c#
how to remove white spaces from string in c#
c# replace all non numeric characters
C# regex replace all spaces with blank
c# regex replace
c# remove spaces from string
c# remove newline from string
c# insert spaces before capital letters
how to remove space between string in c#
how to write blank lines in c#.net
remove whitespace between string c#
c# string replace comma with newline
remove all text after string c#
c# string remove special characters
how to remove vowels from a sttring using regex c#
how clear all line in text file and write new string in c#
c# regex get matched string
c# remove specific character from string
New to Communities?
Join the community