1 person found this helpful
This will find any zero followed by any digit at the start of a "word", and replace it with only the digit that follows. It leaves alone any zero in other locations (so a number like 408 or 480 would not be affected)
Eureka! this is fantastic, beautiful even. Thanks so much.
2 people found this helpful
[mode nitpick ON]
numbers like 024 or 0357 would also be affected. And so would be 00...
If I read carefully the request, only 01 to 09 should be grabbed.
[mode nitpick OFF]
[mode bliss ON]
Good point, vinny
I made the (perhaps faulty) assumption that all numbers with leading zeros were to be fixed ( and the double-zero situation didn't occur to me).