Hi All, I am using following code block
if($data =~ /,(\w{1,}\s{0,}){1,}\n/){ print $&; } now if $data is ", a and b" the pattern matches but if it is ",a & b" it doesn't how can I avoid the special meaning of & Thanks for ur time Pankaj __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs