Help for this page

Select Code to Download


  1. or download this
    for (@links1) {
      s/<\s*a\s.*?\b(href\s*=\s*".*?").*?>/<a $1>/i;
    }
    
  2. or download this
    @links1=~   # that would work like scalar(@array)=~
    s/ .*       # replace complete string with
    ...
       .*?      # as few as possible (=no) anythings
       \"       # no need to escape '"'
     /isx;      # 's' is not needed, I added 'x'