my $foo = $1 if m/^(.+?)\n/; $foo =~ s/Remediation Report(?:\n+)?//; [download]
In reply to Re: Regex problems using '|' by Anonymous Monk in thread Regex problems using '|' by romandas