C# Regular Expression

  • Thread starter Thread starter JSChicago
  • Start date Start date
J

JSChicago

Guest
Hello,

I've been pulling my hair out over this and hope someone can help.

I need a regular expression that will only match a single word that:

1. Must be exactly 12 alphanumeric characters in length

2. Must contain at least 3 letters

3. Must end in exactly 2 digits

Closest I've gotten is: \b^([a-zA-Z0-9]{12})|(\d{2}$)\b

and it just doesn't work

Thanks in advance for any assistance

Continue reading...
 
Back
Top