Why is it essential to have an Id that is always exactly seven numbers.
Why are you complaining about case 999 when you have said that 24 is your largest value.
Why does all have to be done in one single expression and not in multiple passes.
It seems you turn each offered help into a Not Good Enough gripe.
Buy a regex programming book. Or...Convert back to Word doc and fix it there. Or, convert to Kepub which adds Id to every paragraph anyway....
Or continue to try people's patience...
|