You are viewing a single comment's thread. Return to all comments →
Javascript:
const lines = input.split("\n"); lines.shift(); lines.forEach((line) => { const status = line.match(/^[a-z]{0,3}\d{2,8}[A-Z]{3,}$/) ? 'VALID' : 'INVALID'; console.log(status); });
Seems like cookies are disabled on this browser, please enable them to open this website
Utopian Identification Number
You are viewing a single comment's thread. Return to all comments →
Javascript: