Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r'''
<span\sclass="indexed-biz-name">(\d*).[\s\S]*?<span>([\s\S]*?)</span></a>[\s\S]*?title="(\d.\d)[\s\S]*?(\d*)\sreviews[\s\S]*?range">(\$*)</span>
'''
gm

Description

'''<span\sclass="indexed-biz-name">(\d*).[\s\S]?<span>([\s\S]?)</span></a>[\s\S]?title="(\d.\d)[\s\S]?(\d*)\sreviews[\s\S]?range">($)</span>'''gm

Submitted by anonymous - 3 years ago