Alphanumeric contains alphabets(A-Z,a-z) and numbers (0-9).So for validation of alphanumeric you have to check the pattern of combination of these two. Sometimes space is also included in it. In pattern /^[A-Za-z0-9 ]$/ /../(forward slashes) is used to quote your regular expression. ^ shows beginning of string. [..] any letter enclosed with in. $ is used for ending the string. test() method takes one argument and check that to the pattern.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.