Regexp number to int