I\'m using BeautifulSoup. I have to find any reference to the tags with id like: post-#. For example:
tags with id like: post-#. For example:
post-#
For example:
Since he is asking to match "post-#somenumber#", it's better to precise with
import re [...] soupHandler.findAll('div', id=re.compile("^post-\d+"))