Not a difficult problem but I don't have time for it now.
However to make the part of finding the numbers on the pages easier do like this.
1) make a new Conditional text (Bright Yellow Highlight is good)
2) do a grep search on use Ctrl F with the grep \d+
3) set the change format to the new Bright Yellow Highlight condition then do replace all
This will highlight all your numbers for you.
You can do another grep search for all the number that have mm after them and then change them to the "mm" condition
use grep \d+\s+?(mm||millimeter)
This should be helpful with the manual part of your problem