#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Ireland
    Posts
    3
    Rep Power
    0

    search result tag grab


    I need more help if poss.
    Does anyone have code for grabbing the results of a web search between the tr symbols?

    I wait in hope!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    190
    mmmm. this is not really the correct forum for this. "project help wanted" is for looking for programmers to hire etc i think.

    your question is language specific.

    most languages support regexps, so this is an answer i can give in this forum without being flamed to death i think.

    ...
    $s=preg_replace('%.*<tr>%s','',$s);
    $s=preg_replace('%</tr>.*%s','',$s);

    would be one php way to do it. maybe you need to add backslashes before the "<"s and ">"s...

IMN logo majestic logo threadwatch logo seochat tools logo