pastebin

Paste Search Dynamic
Recent pastes
line
  1. #!/bin/bash
  2. regex="<a.*href=.*>.+</a>"
  3. read n
  4. while ((n--)) ; do
  5.         read line
  6.         #echo $line
  7.         line1=$(echo "$line" | grep -E -o "$regex")
  8.         line2=$line2
  9.         #echo "$line"
  10.         line1=$(echo "$line1" | sed "s/<[^<>]*>/ /g")
  11.         echo $line1
  12. done
Parsed in 0.004 seconds