Yes you can give a variable name inside the regular expression.
Regards,Murugesan Kandasamyuse perl for(;;);
In reply to Re: Regular Expressions by murugu in thread Regular Expressions by nisha