in reply to How to remove Newline

Why don't you simply remove all newlines from your string before? IIRC there is also a rule in the program others wrote for you, that inserts newlines where appropriate.

s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e