I'm trying to make a name field filter with jQuery and I tried so many regular expressions and no of them work fully.
All I need is to make the name field as the name field - nothing else, e.g. Adam Jeremy Smith for example. So there would be no possibility to type $ or / or _ or ~ or 0-9 or anything else? How to do this?
I thought it should be:
/[^\\p{L}]+([^0-9])+$/
Yeah it works only if you type e.g. 'Adam Je4' but if you continue and write 'Adam Je4remy' it doesn't work and validates it incorrectly?
How to achieve it?