I need to create a regex to validate long integer inputs and ensure they are long integer positive values. This means that the valid range should be between 0 and 9223372036854775807
There is a way to create the regex without the need to manually add all the valid digits through ranges (i.e \d{0,18} | [1-8]\d{0,18} | 9[0-1]\d{0,17} | 92[0-1]\d{0,16} ...)?