Function GetNom(txt$) As String
Dim chn$, p1%, p2%, p3%
p3 = InStrRev(txt, "_"): If p3 = 0 Then Exit Function
p2 = InStrRev(txt, "-", p3): If p2 = 0 Then p2 = p3
p1 = InStrRev(txt, "@", p2)
chn = Mid$(txt, p1 + 1, p2 - p1 - 1)
p3 = InStrRev(txt, "_", p1): If p3 = 0 Then GoTo 1
p2 = InStrRev(txt, "-", p3): If p2 = 0 Then p2 = p3
p1 = InStrRev(txt, "@", p2)
chn = Mid$(txt, p1 + 1, p2 - p1 - 1) & " " & chn
1 GetNom = chn
End Function