Matching id's in BeautifulSoup,"print(soupHandler.findAll('div', id=re.compile('^post-')))"