S
sroemerm
I have a rather large string wiht all kinds of valid \n(s) but I have
some that I want to get rid of.
In the following example I want to get rid of only the new lines in
between < and >
my $string = "I like this\n but <I dont like\n the\n ones\n in here>"
I want the previous string to look like this
"I like this\n but <I dont like the ones in here>"
I've tried a couple things but the bottom line is that I'm not good at
expression parsing. please help.
some that I want to get rid of.
In the following example I want to get rid of only the new lines in
between < and >
my $string = "I like this\n but <I dont like\n the\n ones\n in here>"
I want the previous string to look like this
"I like this\n but <I dont like the ones in here>"
I've tried a couple things but the bottom line is that I'm not good at
expression parsing. please help.