in reply to Re^2: Regex problems using '|'
in thread Regex problems using '|'
I'm not sure about the newlines, but you'll work that out.foreach my $vulnerabilityText (@records) { $vulnerabilityText =~ m/(Remediation report\n\n)?(.+)/; my $vulnerabilityName = $2; print($vulnerabilityName, "\n"); }
|
|---|