• + 1 comment
    const re = /^a.*a$|^e.*e$|^i.*i$|^o.*o$|^u.*u$/;
    

    im sure there's a quicker way to do it