#!/usr/bin/perl -w use strict; my $hdata = 'FALCHE;12;ff;20020101;Pori;Yyteri;lietteet;testi;kylma'; my $crit1 = "pori"; my $crit2 = "yyteri"; if (($hdata =~/$crit1/i) && ($hdata =~/$crit2/i)) {print "$hdata\n"}
In reply to Re: Finding multiple words from a line of flatfile
by Bilbo
in thread Finding multiple words from a line of flatfile
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |