From: Oleg Komarov on
"David Young" <d.s.young.notthisbit(a)sussex.ac.uk> wrote in message <i3bat5$dpq$1(a)fred.mathworks.com>...
> Yes, try this:
>
> newnames = regexprep(names, '^([^,]*), (.*)\.\.\.(.*)$', '$2 $1$3')

Thank you very much!
I adopted something similar but your syntax is way much more compact and elegant!

I have still much to learn from regular expressions!

Oleg