Replaced \d with 0-9 range in regular expressions