if ($text =~ /Screening Ligands by X-ray Crystallography/i) { say "MATCH!"; } else { say "NOPE!"; }