79712975

Date: 2025-07-24 08:09:06
Score: 2
Natty:
Report link

With jquery:

$('.kk').keyup(function(e){
    var t=$(this);
    if(e.keyCode!=8){   
        let val=t.val();
        val =val.replace(/(\d{4}(?!\s))/g, "$1 ");
        if(val.length==20){
            val=val.trim()
        }
        t.val(val);
    }
})

Thanks to @thefourtheye

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @thefourtheye
  • Low reputation (0.5):
Posted by: Hakan