creditCardValidation = event => { const targetValue = event.target.value.replace(/[^\\d0-9]/g, \'\'); const lengt