when i read a text, i have string like <h3 class="heading">General Purpose</h3>
in some of the lines of the text, now i want to get only value that is General Purpose
from above..
d = re.search(re.escape('<h3 class="heading">')+"(.*?)"+re.escape('</h3>'), str(data2))
if d:
print(d.group(0))