Now i see that $ur is declared after the regexes.. what your code is supposed to do? if you just put qr in the meanwhile $ur is uundefined and probably is not ywhat you want.. are you using strict and warnings? probably we need more informations about your intention and your possible data inputs.
L*
In reply to Re^3: Using regex with a variable
by Discipulus
in thread Using regex with a variable
by Praveen Dharmaraj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |