Regex and Alphanumeric matching?
Anyone know the regular expression on matching alphanumeric values? The variable contains a-z and 0-9. I can create 2 regular expression in javascript to look for both all letters then all #s but was hoping for a single regex expression.
Its almost like im looking for and ampersand, so i could use:
/[a-z]+|\d+/
but this would match letters or numbers where in alphanumeric there has to be letters "AND" numbers.
Thanks
|