Hi,
  I have an html file containing a table. I applied
  eregi("<TR>.*</TR>",$contents,$temp) through my Php.I am getting 
  the output like this-
               <td>A</td><td>B</td></tr>
               <tr><td>C</td><td>D</td></tr> 
               <tr><td>E</td><td>F</td> 
But my expected output is -
             <td>A</td><td>B</td>
             <td>C</td><td>D</td>
             <td>E</td><td>F</td> 
 The code removing only the first and last <(/)tr>.
How to do it using eregi ? (or using any other regular expression function. I 
don't want to use any string replace function.)

Binav

 

 
______________ ______________ ______________ ______________
Sent via the WebMail system at softwareassociates.co.uk


 
                   
---
Scanned by MessageExchange.net (10:05:41 SPITFIRE)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to