while (<DATA>) { s/\n/ / if /;/; print; } [download]
In reply to Re: Regex with Newline by JavaFan in thread Regex with Newline by Anonymous Monk