$foo = "la\nle\nlu"; ( $text ) = map { $_ !~ m/WYSIWYG/ig && s/\n/
/g; $_ } $foo; say "TEXT4: $text";