Javascript – How to seperate string and numbers from an array into new arrays?
Given array: const array = ["string1234","stringNew264"] Result arrays should be like below arrays: stringArray: ["string","stringNew"] numbersArray: [1234,264] I tried using split(), join(), foreach loop method but not getting proper result.