Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

credit card mask js

function maskify(cc) {
  return cc.replace(/.(?=.{4})/g, "#");
}
 
PREVIOUS NEXT
Tagged: #credit #card #mask #js
ADD COMMENT
Topic
Name
7+8 =