Feb-08-2018, 03:48 PM
Oh, yes. Then let's to the regex-trick 101...
The regex
If you want to do complex stuff, prevent the use of regex.
Regex is not able to parse HTML.
Then you should use BeautifulSoup or other parsers for html.
re.findall(r'\w+',requests.get('https://google.de').text).count('word')
The regex
r'\w+'
finds all complete words.If you want to do complex stuff, prevent the use of regex.
Regex is not able to parse HTML.
Then you should use BeautifulSoup or other parsers for html.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!