by undersuit · 10y ago · 0 comments
/^(.*?)(\d+)(.*?)$/
$ echo abc9def | perl -pe 's/(\d+)/$1+1/e' abc10def