Hi,
so?
[autoit]Global $text[2] = ['Mueller, Hans zu Hof, Michael r', 'Empfang zu Hof, Michael']
[/autoit][autoit][/autoit][autoit]For $i=0 To UBound($text)-1
$nachname = StringRegExp($text[$i], '.*?(?=,)', 3)
$vorname = StringRegExp($text[$i], '(?<=, )\w*', 3)
MsgBox(0, "", "Vorname : " & $vorname[0] & @CRLF & "Nachname : " & $nachname[0])
Next
So long,
Mega