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')

One question:
what the dollar sign is for in:
'^([^,]*), (.*)\.\.\.(.*)$'
can't figure it out...

Oleg