Help for this page

Select Code to Download


  1. or download this
    if (($string=~m/abc/i && $string=~m/xyz/i))
    {
        print "\nMatched";
    }
    
  2. or download this
    if ($string=~m#(abc).*?(xyz)#i)
    {
        print "\nfound";
    }