You need to do this
so 9/111 will be made into a fraction with out the \D it wouldn't.
I also added some colors to make things a bit clearer.
Ohhhh Trevor, right from under the nose of Jongware. We better not disturb the sleeping giant. :-)
Looking back, this actually taught me a basic lesson of Negative Lookahead that I was completely missing. It works fanastic, and my morning coffee is tasting even better for it. Thanks a ton!
Wow, Trevor, that's a great link I've never read before. Everyone should read this. Everyone. Yeah.