I want to delete some lines

original:

<a href="http://www.example.com/1.html"; >ABCD</a>
&gt; <a href="www.example.com/title.html#1234">Football</a>
<a href="http://www.example.com/2.html"; >BCDE</a>
&gt; <a href="www.example.com/title.html#2345">Tennis</a>
<a href="http://www.example.com/3.html"; >CDEF</a>
&gt; <a href="www.example.com/title.html#1234">Football</a>
<a href="http://www.example.com/4.html"; >DEFG</a>
&gt; <a href="www.example.com/title.html#3456">Basketball</a>
<a href="http://www.example.com/5.html"; >EFGH</a>
&gt; <a href="www.example.com/title.html#2345">Tennis</a>
<a href="http://www.example.com/6.html"; >FGHI</a>

after:

<a href="http://www.example.com/1.html"; >ABCD</a>
<a href="http://www.example.com/2.html"; >BCDE</a>
<a href="http://www.example.com/3.html"; >CDEF</a>
<a href="http://www.example.com/4.html"; >DEFG</a>
<a href="http://www.example.com/5.html"; >EFGH</a>
<a href="http://www.example.com/6.html"; >FGHI</a>

I tryed eregi replace with (.*)
but that does not seem to work

Thanks if you can help me

Richard van Leeuwen






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to