I'm trying to create a regular expression with the below restrictions
- Allow any character '\w\W\s' (e.g rand123#!#@adfads)
- Disallow only numbers (e.g 12312312)
- Disallow only non alphanumeric characters (e.g !@#$$#%#^%$^%)
- Number of characters must be between 3 to 60
Following along the lines of this answer, but could not get it work.
^(?=.{3,60}$)(?![\W_]*$)(?![0-9]*$)[\w\W\s]+$