trier et diviser JS Alefbethic
function splitAndSort(s){
const ALPHA_REGEX = /^[a-zA-Z]+$/i
let isAlphaWord = (word) => ALPHA_REGEX.test(word)
let alphas = s
.replace(/[^a-zA-Z ]/gi,"")
.split(' ')
.filter(isAlphaWord)
alphas = alphas.filter(w=>w.length >1)
alphas.sort()
return alphas
}
ABS