moreover, given this
=RegExReplace(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(REGEXREPLACE(A17,"(?i)[aeiou]","$0f$0"),"fA","fa"),"fE","fe"),"fI","fi"),"fO","fo"),"fU","fu"),"(?-i)(a){2}|(e){2}|(i){2}|(o){2}|(u){2}","$1$2$3$4$5")
monstrosity of an answer (google sheets), how might I be able to recitfy the issue?