Help for this page

Select Code to Download


  1. or download this
    # Test for presence of patterns in HTML file
    if($pattern1)
    ...
      print "No tags matching this pattern within the HTML document.\n";
    }
    
  2. or download this
    if ( grep /$pattern1/i, @htmlLines )