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