Forums - C# Corner

Forum guidelines
Anand N

Anand N

  • 747
  • 15
  • 20k

Regular Expressions

Apr 10 2013 12:45 AM
Hi,



Can you please explain me this regular expression?

(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{8,10})$


[a-zA-Z0-9]{8,10} means any alphabets or digits 8 to 10 characters.

but

(?!^[0-9]*$) or  (?!^[a-zA-Z]*$)  what are these expressions?


Thanks in advance
Anand

Answers (1)

C# Corner Chandigarh Developer Conference

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.