please help me delete html row.

Discussion in 'PHP' started by lonely88, Dec 1, 2008.

  1. #1
    hello people i want to stripe this code:
    <font size="1">Watch <a href="http://www.veoh.com/videos/v1824408nyAfPJe4">lamune 4</a> in <a href="http://www.veoh.com/browse/videos.html?category=category_animation">Animation</a>&nbsp;&nbsp;|&nbsp;&nbsp;View More <a href="http://www.veoh.com/">Free Videos Online at Veoh.com</a></font>
    Code (markup):
    from auto video updating script ..i wanted to use preg_replace but how can i make it replace the whole line?
     
    lonely88, Dec 1, 2008 IP
  2. iDemonix

    iDemonix Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you're just deleting why not just use str_replace with a blank replacement ( '' ) set?
     
    iDemonix, Dec 1, 2008 IP
  3. lonely88

    lonely88 Well-Known Member

    Messages:
    328
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #3
    how can i do it?can you please write the code.
     
    lonely88, Dec 1, 2008 IP
  4. misbah

    misbah Active Member

    Messages:
    265
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    68
    #4
    detail please...
    or give us example the input and output...
    so... we know your problem...
     
    misbah, Dec 1, 2008 IP