|Just another Perl shrine|
Advance Regular expression questionsby rajeshatbuzz (Novice)
|on Jan 04, 2012 at 17:06 UTC||Need Help??|
rajeshatbuzz has asked for the
wisdom of the Perl Monks concerning the following question:
I am just begginer in perl. Just want to do following task through regular expression.
I have huge sql file and trying to replace value of each line first 4 digit separated by comma.
FILE 2 : It should be manipulated from first file based on following specification...
First Digit - should be incremented by 1
Second Digit - if its 0, no change but with others digit +3
Third Digit -Should be added +3
Fourth Digit - if 55 then make it 65 and if 56 then make it 66Rest digit should remain unchanged.
Any help on this? I am basically got stuck in regular expression part