Help for this page

Select Code to Download


  1. or download this
    $regex = "href\\s*=\\s*\".*?\"";
    $regex = 'href\s*=\s*".*?"';
    
  2. or download this
    use strict;
    use warnings qw( FATAL all );
    ...
    __DATA__
    No anchors here
    <a href="asdf">go there</a> <a href="fdsa">go here</a>