code: def _ExtractGoogleDocsSearchQuery(self, url):
      
      if 'q=' not in url:
        return None
  
      line = self._GetBetweenQEqualsAndAmpersand(url)
      if not line:
        return None
  
      return line.replace('+', ' ')
docs: Extracts a search query from a Google docs URL.
  
      Google Docs: https://docs.google.com/.*/u/0/?q=query
  
      Args:
        url (str): URL.
  
      Returns:
        str: search query  or None if no query was found.