I am trying to create a regular expression in JavaScript which contains all alphabet, % and _. I have written this regex for that which is not working fine. Can anyone help