Copy text from body mail

Hi, I’ve never created a robot that works on email, so please support me.
I would like my robot to:

  1. Go through all emails with a specific subject.

  2. Copy the employee logins from the email content, which are after the text “correctly set:”, to a variable.

  3. Send the email BCC.

Hi @sullivanne

MailMessage1=MailMesage1.AsEnumerable.where(Function(X) X.Subject.Contains("Subject to filter")).tolist()
Body=currentMailMessage.Body
correctlyset=System.Text.RegularExpressions.Regex.Match(Body.ToString, "(?<=correctly set:\s*)[A-Za-z]+").Value

Hope it helps!!