title: Python regexp to get url without http or www
body: <p>How can I get only site.com from search results using python to get insights about words in google seach ?</p>
  
  <pre><code>from xgoogle.search import GoogleSearch, SearchError
  try:
    page = 1
    gs = GoogleSearch("#hashtag insights")
    gs.results_per_page = 100
    results = []
    while True:
      tmp = gs.get_results()
      if not tmp: # no more results were found
        break
      results.extend(tmp)
    # ... do something with all the results ...
  except SearchError, e:
    print "Search failed: %s" % e
  
  for res in results:
      print res.url
  </code></pre>