human
Python BeautifulSoup Extract specific URLs
assistant
Here is some code to find all anchor tags in html `soup` whose url begins with `http://www.iwashere.com`

soup.find_all('a', href=re.compile('http://www\\.iwashere\\.com/'))

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