Updated I'm trying to match all the ['ta]
character(s) between two non capture groups like this (static xml):
Example xml
<Monkey xmlns="http://urlhere.com/monkeynamespace">
<foodType>
<vegtables>
<carrots>i don't like carrots, or tomatoes</carrots>
</vegtables>
<foodType>
</Monkey>
And my regex
/(?:(<.*?>))(['ta])(?:(<\/.*?>))/gm
Any ideas? Seems like that regex turns lazy.