Tested only to 4999, will not work for over-struck numerals.  Code simplistic