If the array of strings have 1 word on each string (like dim hi() as string={"hi", "die", "***"}) then a very simple loop and comparing the array to a string would be very easy.

Otherwise, if it could be sentences, then you can use RegEx

All the help I'm giving you, you should be alright if you actually pay attention