I want a regex in c# that validates the hexadecimal number between 0 to FE (i.e. 0 to 254 in decimal)(Case insensitive).
here user can enter the single digit number in two digit. For example number 9 as 09.
any help is appreciated.
Note: We don't need to validate '0x' here,just a range between 0 to FE.