in reply to Re: Modifying File Contentsin thread Modifying File Contents
perl -pi.bak -e 's/(SW_V02\.)(\d\d)/$1 . sprintf("%02d", $2 + 1)/e;' f +ilename.txt [download]
Cheers,
JohnGG