In javascript i want to determine if a string is composed only of Hexadecimal characters or not. i.e., it i want to check if the string is a consecutive block of characters in the range a-f, A-F, 0-9. How can i do this in javascript.
In javascript i want to determine if a string is composed only of Hexadecimal
Share
Something like:
/^[a-f0-9]+$/i.test("ABCDEF")Or