zacząłem naukę z wyrażeniami regularnym, jestem osoba początkującą i mam pewien problem z wycągnięciem treści.
Z niżej podanego kodu potrzebuję wyciągnąć adres http ze znacznika img oraz treść, która znajduje się w znacznikach <b>treść</b>
<tr class="odd"> <td><a href="/user/captcha/103134708"> <img src="http://static.deathbycaptcha.com/captchas/3464a54d292503e03cbaff0a8d45d9f3f2252905" alt="" /> </a></td> <td>Thu Feb 19 07:02:09 2015</td> <td> <b>ndeps</b> <form name="captcha-103134708-report-form" action="/user/captcha/103134708/report" method="post"> <button type="submit">Report incorrect result</button> </form> </td> </tr> <tr class="even"> <td><a href="/user/captcha/103134675"> <img src="http://static.deathbycaptcha.com/captchas/438b736f601416a42945d8de9711d542767ebfb3" alt="" /> </a></td> <td>Thu Feb 19 07:02:09 2015</td> <td> — </td> </tr> <tr class="odd"> <td><a href="/user/captcha/103134206"> <img src="http://static.deathbycaptcha.com/captchas/5cc88aad3a5c322c248dde17598edb7670f7efed" alt="" /> </a></td> <td>Thu Feb 19 07:02:01 2015</td> <td> <b>anesp</b> <form name="captcha-103134206-report-form" action="/user/captcha/103134206/report" method="post"> <button type="submit">Report incorrect result</button> </form> </td> </tr>
Prosiłbym o pomoc w rozwiązaniu problemu lub nakierowanie na poprawne rozwiązanie.
o to mój kawałek kodu