You may want to use [^}]* instead of the second .*<br> \{.*\b(div|hash)\b[^}]\}<br><br>That says match any non } character, I'm having to do a lot of tag parsing recently and I often have two sets of tags that my regex in its infinite wisdom decides to overlap.
<br><br>Good luck,<br>-Courtney<br><br>