Work on a copy of the data for the testing...
UPDATE: I think I now understand what you want. Try something like this:
my $regex = join '\s+', qw( New Store Opening Promenade in Crocker Par +k Rack Nordstrom Rack is a division of Nordstrom ); $out = $1 if ($data_main =~ /($regex.*)/is);
In reply to Re^3: Perl Regex Match (Compare Only AlphaNumeric)
by hdb
in thread Perl Regex Match (Compare Only AlphaNumeric)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |