Milan Tripathi Milan Tripathi - 12 days ago 6x
C# Question

Validate an integer with a specific 0-65536 range in Regex C#

I am new to learning Regex and I have tried almost everything myself and from the internet to find a Regex that accepts values from 0 to 65536 and yes I want to do it by Regex only. The Closest I got was 69999.


Here it is:


See demo