Regex - Special Character After 1 or more digits -
i'm rough regex , need have special character after number. if there multiple numbers special character have after entire group.
special characters include !@#$%^&*()
abcd1 not valid
abcd1# valid
abcd11# valid
what have checks if string between 5 , 30 characters , contains number
^(?=.*\d)(?=.*[a-za-z]).{5,30}$
try this:
'\d+[!@#$%^&*()]'
Comments
Post a Comment