On 02/12/2018 04:35 PM, Maxin B. John wrote: >> This is a good place to practice: >> http://regex101.com > > Thanks. I will update and send a v2. To save you a bit of time, I think the right construct should be either (9|[0-8]\d+) or (?!9\d+)\d+ Alex