I'm trying to create a regular expression to detect if the string has a special character.
/[!$&*-\=^`|~#%'+?{}._]+/.test('Hello2016'); // returns true when should return false because there's no special character
In the previous sample, it's returning true. I guess it's related to the =
symbol but I don't know where it's the mistake.