This assumes you're writing according to guidelines that insist you spell out all numbers. i.e. 58 is always intentionally "fifty-eight", so "58" must be your own meta text.
This assumes you're writing according to guidelines that insist you spell out all numbers. i.e. 58 is always intentionally "fifty-eight", so "58" must be your own meta text.
AP style only spells out one through nine. 10 and above are written as numerals. So, you'd get 10 tags, not 100.
I think the regex would be: /(?<!\d)\d{1}(?!\d)/
What? There exists such a guideline, which is not limited to very small numbers that can be written in at most two words?
That would have you writing things like one million, four hundred fifty-three thousand, one hundred fifty-eight instead of 1,453,158.
"TK: for the thousand one hundred and eleventh time, ditch this idiotic editing job"
My parent comment wasn't an entirely unreasonable idea though [2]. There's generally a less than one percent chance of a high value two-digit number occurring. Three digits and above are even less likely.
[1]: https://apstylebook.com/ask_the_editors/style_guidance
[2]: https://en.wikipedia.org/wiki/Benford%27s_law#Generalization...