hi every one
can any one help me out of the regular expression for the combination of alpha numeric.It should not allow only digits or alphabets.
abcd --not
123-not
it should like
a2bc123fdsa
Regular Expression For Combination of alpha numerics
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted May 14, 2012, 2:59 AM EDT
string regExp = @"^(?![a-zA-Z]+$)(?!\d+$)([a-zA-Z]|\d)+$";
Kunal VaishyaRank #990 · 2K reputationPosted May 14, 2012, 2:42 AM EDT
this
Naresh Babu GopavaramRank #9,687 · 203 reputationPosted May 14, 2012, 3:06 AM EDT