Re: String Replace Backwards


Axel Berger
 

flo.gehrke@t-online.de wrote:
The last comma in a list followed by a space is matched with ',\s\Z'.
Thanks. I didn't know \z and just looked it up and tried ti understand. If
I get it right, your suggesetion would deal with trailing commas. That's
not what I mean.

I have a list like "Peter, Paul, Mary" and want "Peter, Paul & Mary" Of
course Mary could be a name of several parts not all of which are letters.
The only shure thing is, the 'name' must not contain ", ".

It's easy with
^!Replace ", " >> " & " HB

Danke
Axel


--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
 X in | D-50829 Köln-Ossendorf http://berger-odenthal.de
/ \ Mail | -- No unannounced, large, binary attachments, please! --

Join Clips@Notetab.groups.io to automatically receive all group messages.