text matching loop in r
<p>I have 10000 or more texts in one column of a csv file_1.
In another csv file_2 I have some words which I need to search in file_1, and need to record in next column if text contain that words.
need to search all the words in all the texts many a times single text can contains multiple words from file_2, want all the words in next column to text with comma separated.
case matching also can be one challenge, and I want exact match only:
Example:
file_1
    <a href="http://i.stack.imgur.com/m4kOE.png" rel="nofollow">File_1</a>
file_2</p>

<p>Disney,
Hollywood</p>

<p>Desired Output:
    <a href="http://i.stack.imgur.com/wqkyE.png" rel="nofollow">Desired Output</a></p>