Can't you just use:
except that this will fail when you get down to 1 digit. - tye (but my friends call me "Tye")s/\d{2}/$1-1/ge
In reply to (tye)Re: 99 bottles, 2 lines
by tye
in thread 99 bottles, 2 lines
by chipmunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |