Regular Expression Set containing line break

How do I write a regular expression containing the character for line break?

should be contained within a character set e.g. “[,.:;/]” because I want to replace these characters

1 Like

Depends on your source, you’d be looking for \r, \n, \n\r.
Alternatively could also use String.Replace with VbCr, VbLf, VbCrLf if you are not restricted to just Regex.