Delete a specific string (not line) from a text file python
<p>I have a text file with two lines in a text file: </p>

<pre><code>&lt;BLAHBLAH&gt;483920349&lt;FOOFOO&gt;
&lt;BLAHBLAH&gt;4493&lt;FOOFOO&gt;
</code></pre>

<p>Thats the only thing in the text file. Using python, I want to write to the text file so that i can take away BLAHBLAH and FOOFOO from each line. It seems like a simple task but after refreshing my file manipulation i cant seem to find a way to do it. 
Help is greatly appreciated :)</p>

<p>Thanks!</p>
