I have a regex that picks up everything between curly brackets (inclusive)
Regex101 example here: https://regex101.com/r/isEbes/1
(?={{)(.*?)}}
Nemo enim ipsam voluptatem quia {{ voluptas }} labore et {{ dolore }} eum
<a href="{{iure}}">reprehenderit</a> qui <a href="{{ news }}">{{smart}}</a> ea."
This returns {{voluptas}} {{dolore}} {{iure}} {{news}} and {{smart}}
However, I want to exclude everything in href="", so in this case {{iure}} and {{news}} should not be included.
How can I do this? E.g. I've tried [^"](?={{)(.*?)}}[^"] but this still captures href="{{ item }} something elese" https://regex101.com/r/xVDesH/1