I am writing a regular expression which shoud verify the strings which are in range [1,65535] This is what I have tried, but it didn't work
^([1-9]|[12]\d|6553[0-5])$
Please help me to get the right regex
I am writing a regular expression which shoud verify the strings which are in range [1,65535] This is what I have tried, but it didn't work
^([1-9]|[12]\d|6553[0-5])$
Please help me to get the right regex