我试图从如下所示的日志文件中获取域名(http://www.example.com ):
http://maps.google.com/maps?hl=en&tab=wl
http://l.macys.com/simi-valley-ca?cm_mmc=macys_
https://www.google.co.in/
https://www.google.ca/
我只想
http://maps.google.com/
http://l.macys.com/
https://www.google.co.in/
https://www.google.ca/
有任何想法吗?