in reply to Weird Regexes Stuff

(\d)*(\d)
Try changing that to
(\d{1,2})
but you'll then have to adjust your $1,$2,$3. See perlre

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.