How can I delete all \r\n
characters (to convert it to just 1 line) just for the <out>...</out>
block of the text below using regex?
<nx1>home</nx1>
<nx2>living</nx2>
<out>text one
text continues
and at last!</out>
<m2>dog</m2>
The final result for this sample of text should be:
<nx1>home</nx1>
<nx2>living</nx2>
<out>text one text continues and at last!</out>
<m2>dog</m2>
Search for
and replace all with a single space. Tested on EditPad Pro 7.3.1. Make sure you select the "Dot" option, so the dot also matches newlines.
Explanation: