Finding specific HTML in a document

Discussion in 'Perl Misc' started by laredotornado, Aug 15, 2011.

  1. Hi,

    I'm using 5.10.1 on Ubuntu Linux 11.04. I want to search an HTML file
    to see whether or not there is a table row that matches

    <tr>
    <td>numTestFailures:</td>
    <td>0</td>
    </tr>

    That is, contains a single table row with table table cells, the first
    of which contains the node value "numTestFailures:" and the second
    containing the node value "0" (zero). All I'm looking for is a true/
    false. What is the easiest way to do that?

    Thanks, - Dave
    laredotornado, Aug 15, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Carrow
    Replies:
    0
    Views:
    540
    Steve Carrow
    Jul 28, 2003
  2. mike
    Replies:
    2
    Views:
    500
    Chris Smith
    Jan 14, 2005
  3. mike
    Replies:
    3
    Views:
    479
    Thomas Weidenfeller
    Jan 24, 2005
  4. Steve Carrow
    Replies:
    0
    Views:
    616
    Steve Carrow
    Jul 28, 2003
  5. mazdotnet
    Replies:
    2
    Views:
    388
    Alexey Smirnov
    Oct 2, 2009
Loading...

Share This Page