Hi @SND0912
Assign=> FullName= "Henry D. RICH" or ".Jason Kumar F. Reddy"
If
System.Text.RegularExpressions.Regex.IsMatch(FullName,"[A-Z]\.")
Then
Assign=> NameParts= System.Text.RegularExpressions.Regex.Replace(FullName.Trim(), "(?<=[A-Z])\.","")
Else
Assign=> NameParts= FullName
That particular if condition checks if the middle name contains (.) i.e in your case F. or not. If yes. It will remove. If no, it will print the name present in the variable.