Answers for "javascript allow only alphanumeric characters"

0

javascript allow only alphanumeric characters

$('#MyTextInput').on('propertychange input', function () {
  let result = $(this).val().replace(/[^0-9a-z]/gi, '');
  $(this).val(result);
});
Posted by: Guest on June-24-2021

Code answers related to "javascript allow only alphanumeric characters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language