Its probably super simple.
I want to match only where a certain word exists in between full <headers>
This is what i have so far.
(<h[d{1-6}](.itemprop.)(.*?)</h[d{1-6}]>)
I want it to match
<h1 class="test" itemprop="name">Test</h1>
AND
<h2 itemprop="name" class="test">Test</h2>
AND
<h6 class="test"><strong itemprop="Price">9,99</strong>Test</h6>
As it is now it only matches <h{1-6} itemprop
etc