Regular Expression - Minimum 5 characters with atleast one numeric character

Last Reply on Aug 31, 2012 05:27 AM By Nadezhda

Posted on Aug 29, 2012 03:13 AM

how to limit the user to enter atleast 5 letters and  atleast 1 number in text field.

Posted on Aug 31, 2012 05:27 AM

^(?=.{5,}$)(?=.*[a-z|A-Z].*[a-z|A-Z].*[a-z|A-Z].*[a-z|A-Z].*[a-z|A-Z])(?=.*[0-9]).*

I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html?aff_id=108