Create a workflow using string activities that extracts the First and Last Name of an employee from a text file and uses this information to fill in the placeholder text in the string below.
“Hello Mr/Ms/Mrs <first_name> <last_name>, we would like to invite you to our product launch event next week. Please confirm by the end of current week.”
FirstName=System.Text.RegularExpressions.Regex.Match(Str_Input,"(?<=First Name: )\w+").Value
LastName=System.Text.RegularExpressions.Regex.Match(Str_Input,"(?<=Last Name: )\w+").Value
Template="Hello Mr/Ms/Mrs <first_name> <last_name>, we would like to invite you to our product launch event next week. Please confirm by the end of current week."
Result=Template.Replace("<first_name>",FirstName).Replace("<last_name>",LastName)