Python. How to find all occurrences of matched substring?
<p>I have a big string - html page. I need to find all names of flash drives,
i.e. I need to get content between double quotes: <code>data-name="USB Flash-drive Leef Fuse 32Gb"&gt;</code>. So I need a string between <code>data-name="</code> and <code>"&gt;</code>. Please, don't mention BeautifulSoup, I need to do it without BeautifulSoup and better without regular expressions, but regular expression are also accepted.</p>

<p>I tried to use this:</p>

<pre><code>p = re.compile('(?&lt;=")[^,]+(?=")')
result = p.match(html_str)
print(result)
</code></pre>

<p>but result is None.
But on regex101.com it worked:
<a href="https://i.stack.imgur.com/RxFp4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RxFp4.png" alt="enter image description here"></a></p>