XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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... 20040326 Edit by BazB: Changed title from 'Reg. Exp.' In reply to Regex and leading zeros in numbers by Anonymous Monk
|
|