How do I tell regex to match at least x number of alphanumeric?

Posted by codemonkey613 on Stack Overflow See other posts from Stack Overflow or by codemonkey613
Published on 2010-03-13T15:21:51Z Indexed on 2010/03/13 15:25 UTC
Read the original article Hit count: 391

Filed under:
|

I have form where user submits field. Field can have letters, numbers, and punctuation. But I want to check to make sure that at least 3 of the characters are letters. How can I regex that?

Thanks

© Stack Overflow or respective owner

Related posts about regex

Related posts about php