Help for this page

Select Code to Download


  1. or download this
    my @words = qw( SA NV LTD CO LLC );
    
  2. or download this
    my ($re) = map qr/$_/i, join '|', map quotemeta, @words;
    
  3. or download this
    use Regexp::List qw( );
    my $re = Regexp::List->new(modifiers => 'i')->list2re(@words);
    
  4. or download this
    while (<>) {
       chomp;
    ...
    
       print("$_$/");
    }