I am doing an mail activity i have read the body part now i need to check whether some of the key words are there in that mail body if yes i want to store them in a variable

i am doing an mail activity i have read the body part now i need to check whether some of the key words are there in that mail body if yes i want to store them in a variable.
for example ; i have received an email body part contains rahul, manoj
on the other hand i have manoj , rahul , jai

so i need verify what where the keyword that are matching with data that i have if the data matches i need to store that same name in an variable

the way i’d do it;
create an array of strings with all the keywords; keywordArray = {“manoj”,“rahul”,“jai”};
then, for each item in keywordArray if mail.Body.contains(item) assign yourVar = item

1 Like

@Tiberiu_Niculescu now i have an array that comprises i.e array = op1+op2+op3

now i need to iterate through each on and then down data from website how to do that
op1 , op2 ,op3 are the variable that extracted from the mail body

which website?

nse website