Find csv lines by word similarity : <p>I have a csv file with thousands of lines. I would like to retrieve only the lines with some similarity regarding a specific word. In this case I am expecting to catch the line 1, 2 and 4.</p>

<p>Any idea how to achieve that?</p>

<pre><code>import csv
a='Microsoft'
f = open("testing.csv")
reader = csv.reader(f, delimiter='\n')

for row in reader:
    if a in row[0]:
        print row[0]
</code></pre>

<p><strong>testing.csv</strong> </p>

<pre><code>I like very much the Microsoft products
Me too, I like Micrsoft
I prefer Apple products
microfte here
</code></pre>
