Extract image name if it exists
Posted: Fri Sep 21, 2007 3:33 pm
Hello.
I am trying to scan a website which contains a table with the columns name and image. Not every row contains an image.
I am able to scan for the name but I'm stuck with the images. I only get the ones without an image but I would want to get every row, doesn't really matter if the column contains an image or not, I'd like to extract whats after the second <td> anyway.
Thank you.
I am trying to scan a website which contains a table with the columns name and image. Not every row contains an image.
I am able to scan for the name but I'm stuck with the images. I only get the ones without an image but I would want to get every row, doesn't really matter if the column contains an image or not, I'd like to extract whats after the second <td> anyway.
Code: Select all
<td>(\w+)<\/td><td>Image<\/td>