<human>:  beautifulsoup can't find href in file using regular expression
<bot>: Here is some code to find href value that has string 'follow?page' inside it

print(soup.find('a', href=re.compile('.*follow\\?page.*')))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.