const uid = "7X0A4B5Y3R2G9T4W6Z3S4F9B0G9N9W5T" let string = '' for (const i of uid) { if (!((i * 1) >= 0)) { string += i } } console.log(string)