Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression (Regex) to allow only Numbers (Digits) and Special characters in JavaScript and jQuery.
↧