Delete last word on string after space

Hi,

Can you try the following expression?

System.Text.RegularExpressions.Regex.Replace(yourString,"\s\S+$","")

Regards,

1 Like