Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    for my $str (@strs) {
      print "$str matches\n" if $str =~ m|<a href=(?:(?i)"http://somelink.
    +com")|;
    }
    
  2. or download this
    <a href="http://somelink.com" matches
    <a href="http://SOMELINK.com" matches