Removing new line characters around patterns
133393
How can I replace a newline with sed?
73908
How can I "merge" patterns in a single line?
34462
Remove white line after \item in enumerate and before display math
121859
Removing certain lines from a table
54343
Stripping non printable characters from a string in python
98876
Clean Python Regular Expressions
4941
Delete range of lines above pattern with sed (or awk)
116105
How to remove leading and trailing spaces from a string
143143
sed fails to remove newline character
38117
How to replace spaces with newlines/enter in a text-file?
148553
How to remove \n from a list element?
117440
Removing control chars (including console codes / colours) from script output
92508
How to remove all white space from the beginning or end of a string?
82797
Regex to match any character including new lines
128484
How to filter string for unwanted characters using regex?
110498
How can I replace a newline (\n) using sed?
71004
Removing empty lines in Notepad++