Finding and displaying image src attributes
<p>I have a problem and an try to find  in one  week. I need help :(</p>

<p>I have a script work with :</p>

<pre><code>&lt;script type="text/javascript"&gt;
var list_images = 'image1.jpg|image2.jpg|image3.jpg|image4.jpg|image5.jpg|image6.jpg|image7.jpg';
var images = list_images.split('|');
&lt;/script&gt;
</code></pre>

<p>but know in blogger always give more tab in my script</p>

<pre><code>&lt;script type="text/javascript"&gt;
var list_images = '

&lt;div&gt;&lt;/div&gt;
&lt;a herf="anything"&gt;&lt;img src="image1.jpg"&gt;&lt;a/&gt;
&lt;a herf="anything"&gt;&lt;img src="image2.jpg"&gt;&lt;a/&gt;
&lt;a herf="anything"&gt;&lt;img src="image3.jpg"&gt;&lt;a/&gt;
&lt;a herf="anything"&gt;&lt;img src="image4.jpg"&gt;&lt;a/&gt;
&lt;a herf="anything"&gt;&lt;img src="image5.jpg"&gt;&lt;a/&gt;
&lt;li&gt;&lt;img src="image6.jpg"&gt;&lt;/li&gt;
&lt;li&gt;&lt;img src="image7.jpg"&gt;&lt;/li&gt;
&lt;br/&gt;

';
var images = list_images.split('|');
&lt;/script&gt;
</code></pre>

<p><strong>I want remove all tabd and convernt them like</strong></p>

<pre><code>var list_images = 'image1.jpg|image2.jpg|image3.jpg|image4.jpg|image5.jpg|image6.jpg|image7.jpg';
</code></pre>
