You could simply use BeautifulSoup
to find your results.
import bs4
html = '''
<div class="example">example</div>
<div class="prod roundedBox">foo</div>
<div class="prod roundedBox last">bar</div>
'''
soup = bs4.BeautifulSoup(html)
soup(attrs={'class' : ['prod', 'roundedBox']})
If you wanted to use regular expression, here is an example:
import re
import bs4
soup = bs4.BeautifulSoup(html)
soup(attrs={'class' : re.compile(r'^prod')})
Output
[<div class="prod roundedBox">foo</div>, <div class="prod roundedBox last">bar</div>]