$num =~ s/.*?20(\d).*/0$1/gs
Since \d always matches one digit, the sprintf is not really needed.
In reply to Re: anyway to combine these two steps?
by moritz
in thread anyway to combine these two steps?
by convenientstore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |