1. const s = e.target.value;
    2. const num = s.replace(/[^0-9]/gi, '');