Thread: [Solved] Regex-pattern
View Single Post
 
Old 12-31-2024, 03:33 AM
mstde mstde is offline Windows 11 Office 2019
Novice
 
Join Date: Dec 2024
Posts: 2
mstde is on a distinguished road
Default

Hi,
thank you very much for your replies.

@macropod: in my example the name consisted of just two words, but there can be other variants, too:

, Hans-Gerd Müller,
, Thomas Gerd Müller,
, Beate van Ackeren,
, Louise van der Ackeren,
, Gerd Müller-Lüdenscheid,
, Hans Gerd Müller-Lüdenscheid,

All of them have in common, that the first delimeter is a comma followed by a space and an uppercase letter and the delimeter at the end of all variants is the second comma, so i went for regex to catch all.

Would your method find these variants, too?

Regards Michael