Javascript – Disallow comma character using regex and accept other characters, limit is 1 character in my input box
I have a regex input pattern as below: [0-9A-Za-z!-/:-@[-`{-~] and my limit to input is 1, here currently it is accepting comma , I need to avoid accepting commas. what will be my input pattern I tried something like this…