Regex to extract only top data from email body

Hi @Binod_Kumar_Biswal

Try this

(?<=From\s*:\s*)(\w+)

System.Text.RegularExpressions.Regex.Match(Input,"(?<=From\s*:\s*)(\w+)").Value.Trim

Regards,