Thank you both
the regex from Perkin does the job and even I can see how to extend it to 4 and 6 figure integers. I had worried that this 'all numbers' approach would remove real detail in the book and not just the silly footnote system in use. Fortunately real numbers have a comma separating each three characters therefore are not caught by the formula
adrian
