HI
my conditions are //Code length rule (Min - 6 and Max-8) //leftmost character must be alpha character rule //first character of inward code must be numeric rule //second character of inward code must be alpha rule //third character of inward code must be alpha rule //space in position length-3 rule //only one space rule (i.e) NOV 1GR my regex is ^[a-z]{2,4}\s(\d\w+){3})!gi; Can u correct my error.thanks............... Regards, Boniface....... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/