in reply to Re^2: Perl Regex Match (Compare Only AlphaNumeric)
in thread Perl Regex Match (Compare Only AlphaNumeric)
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);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl Regex Match (Compare Only AlphaNumeric)
by Anonymous Monk on Aug 23, 2013 at 12:04 UTC | |
by hdb (Monsignor) on Aug 23, 2013 at 12:08 UTC | |
Re^4: Perl Regex Match (Compare Only AlphaNumeric)
by Anonymous Monk on Aug 23, 2013 at 12:26 UTC | |
by choroba (Cardinal) on Aug 23, 2013 at 12:30 UTC | |
by Anonymous Monk on Aug 23, 2013 at 12:39 UTC | |
by tobyink (Canon) on Aug 23, 2013 at 13:28 UTC |
In Section
Seekers of Perl Wisdom