s/\d+(\d\d)\./$1/; # no need for the (\d+) at the end # being replaced by $2 (itself!)