This has probably been asked before somewhere so sorry if it has but i can't find it. How would i go about searching a list for a word?

So i've got my list that loads from a text file but i want to be able to insert a word into a textarea and click a search button and it to highlight the list entry containing that word?

Thanks