http://www.cornerstonemag.com/sed/
http://etext.lib.virginia.edu/helpsheets/regex.html
sed ‘s/ *(.*)//; s/>.*//; s/.*[:<"> *//’
echo “zxxxxx http://www.co.uk asdasd” | sed ‘s/.*www/www/g’
echo “www.co.uk asdasd” | sed ‘s/[ “>.*$//g’
sed ‘s/.*www/www/g’ www.txt > www_out.txt ; sed ‘s/[ “>.*$//g’ www_out.txt > www_out2.txt