I am desperately looking to a Textwrangler grep syntax to remove all the multi language garbage from a cvs file.
I have a bunch of:
<span class="multilang" lang="en">Portugal</span><span class="multilang" lang="it">Portogallo</span><span class="multilang" lang="pt">Portugal</span><span class="multilang" lang="no">Portugal</span>
And I would like to remove the whole span tag and anything between
<span class="multilang" lang="en">
and the first occurrence of
</span>
and the text inside "Portugal" in this case. In this case it would remove
<span class="multilang" lang="en">Portugal</span>
Obviously "Portugal" is only an example, I have a lots of these kind of entries in the original csv.
I tried this:
</?span class="multilang" lang="en"*>(.*)(</span>).*\1
But it is not working at all. It cannot find anything.
Thank you in advance, Francesco