Regex for multiple conditions -
this question has answer here:
i want regx following condition
1.combination of letters , digits should accept.
2.combination of letters , symbols should accept.
3.only letters should accept.
4.only digits should not accept.
5.only symbols should not accept.
6.combination of letters,digits,symbols should accept.
i trying this:
/^([a-za-z]+\s*)*[a-za-z]+$/
what wrong.
Comments
Post a Comment