const isCard= num =>{ let regx= /(^\d{15})(\d17(\dXx))|(^\d{17}(\d|X|x))/ return num.test(regx) }