Use re.findall()
(or re.finditer
) with the regex 「([^」]*?)」
:
import re
str = '''<a href="javascript:updateParent('higashino/index.html')">東野 圭 吾「夢幻花」「白夜行」</a>他<br>'''
match = re.findall(r'「([^」]*?)」', str)
print(match)
Giving:
['夢幻花', '白夜行']
Using python 3. Also, if you're not using python 3 already I recommend doing so as it is much better with unicode strings than python 2