Subject: Regex and Alphanumeric matching?
Posted By: quantass Post Date: 3/10/2007 10:34:25 AM
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



Go to topic 57521

Return to index page 5
Return to index page 4
Return to index page 3
Return to index page 2
Return to index page 1