then split( /\n+/, $text ) is your friend
On a second thought, can these parameters contain \r\n? in that case, split( /(?:\r?\n)+/, $text ) should do...
In reply to Re: Re: Re: Substitution
by lestrrat
in thread replacing one or more newlines with commas
by Kiko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |