I need JavaScript Regular Expression to allow alphanumeric and reject & ,; , '
I can do a regular expression to allow a specific character, for example ^[a-zA-Z0-9 @$]*$ , it allows alphanumeric, space, @ and $ .
Is there any example where I can say allow all special character, but reject & ,; and '
source share