I'm using powerGrep to find instances of these:
BLOCK 1:
<td class="danish">kat
<?php audioButton("../../audio/words/dog","dog");?></td>
But there are also instances of these among my files:
BLOCK 2
<td class="danish">kat</td>
<td><?php audioButton("../../audio/words/dog","dog");?></td>
I want to find BLOCK 1 only, not BLOCK 2.
I've tried using (?!), as in
.*<td class(.*?)>(.*)(?!</td>)
.*<\?php audioButton\("(.*)/.*",".*"\);.*\?></td>
Can I somehow exclude the </td>
tag from the search, so that BLOCK 2 is ignored?