Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have two files and I need to mach this two values:
20055 with 020055
I am trying to use reg.exp. like
if(A variable with 020055) $nums=~s/(\d)(\d)(\d)(\d)(\d)(\d)/(\d)(\d)(\d)(\d)(\d)/g;
I need to extract the first zero from the second number to mach with the first, I am stuck, little help!!!!
Thanks...
20055 with 020055
I am trying to use reg.exp. like
if(A variable with 020055) $nums=~s/(\d)(\d)(\d)(\d)(\d)(\d)/(\d)(\d)(\d)(\d)(\d)/g;
I need to extract the first zero from the second number to mach with the first, I am stuck, little help!!!!
Thanks...
20040326 Edit by BazB: Changed title from 'Reg. Exp.'
Back to
Seekers of Perl Wisdom