FoxSecrets
Active member
Is it possible to find a element with regex within condition? Or any other approach to get that?
I need something like:
I need something like:
Code:
<xf:if is="condition == 1">
#(<div [^>]*class="[^"]*first-class[^"]*"[^>]*>)#isU
<xf:else />
#(<div [^>]*class="[^"]*another-class[^"]*"[^>]*>)#isU
</xf:if>