[0-9] instead of \d inside regex patterns, to avoid unexpected unicode defined digits to be matched (e.g. 123۳۲١८৮੪૯୫୬१७੩௮௫౫೮൬൪๘໒໕២៧៦᠖...). Alternative solution would be RegexOptions.ECMAScript option.