Hi,
I need to grab a some text from the body of an email after a certain word.
The emails are using html and I need to grab the string after “Message Id: "
I’ve tried mail.body.split(”:"C).Last.Trim, but I cant use this as there are many “:” in the body and I’ve also tried to use “<” but there are also too many of those as well.