in reply to Re^3: Regex help neededin thread Regex help needed
my $pattern = "foo|bar"; say "Match" if $str =~ $pattern; [download]