perl -pi.bak -e 's/(SW_V02\.)(\d\d)/$1 . sprintf("%02d", $2 + 1)/e;' filename.txt