Hi folks,
I am trying to find a string (from a list of strings), if that contains in a string (email body). I feel something is amiss. Couldn’t find what or if the approach is right! Also how would i include ignore case while checking?
My use case: Need to check if any of the strings below is contained in the email
List of strings to check:
{“Unable to upload”,“Upload files failed”,“Upload failed”,“Failed to upload”,
“Missing route document”,“Files not received”,“Files not found”,“File transfer failed”,
“File transfer not received”,“Permit not routed”,“Permit is in unreadable format”,“Did not receive permit”,“Received permit from another company”,“Web defacement”})
Email body:
Dear Tom,
Subject: File transfer failed
A ticket has been logged for this request. Please retain this ticket number for reference purposes."
thanks,
Joshi