@(x)regexprep(x,'(^.*?[aeiouyAEIOUY]+)','$1 $1 $1')ans('Land')
Standard input is empty
ans = @(x) regexprep (x, '(^.*?[aeiouyAEIOUY]+)', '$1 $1 $1') ans = La La Land
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!