Python code that search for text and copy it to the next line : <p>I python code to read lines in a text file and to copy text between specific characters. For example, text between _ _.</p>

<pre><code>Input
./2425/1/115_Lube_45484.jpg 45484
./2425/1/114_Spencerian_73323.jpg 73323

Output
./2425/1/115_Lube_45484.jpg 45484
Lube
./2425/1/114_Spencerian_73323.jpg 73323
Spencerian
</code></pre>

<p>Any suggestions?</p>
