You are viewing a single comment's thread. Return to all comments →
JavaScript:
function processData(input) { var split = input.split('\n'); split.shift(); var regex = RegExp(/^[A-Z]{5}[0-9]{4}\w$/); split.forEach(function (item) { console.log(regex.test(item) ? 'YES' : 'NO'); }); }
Seems like cookies are disabled on this browser, please enable them to open this website
Valid PAN format
You are viewing a single comment's thread. Return to all comments →
JavaScript: