| How to extract pattern substring from a line How can I extract the Quote: |
/staticfiles/NGS/Shared/StaticFiles/Photography/Images/POD/u/underwater-doubilet-697088-ga.jpg
| part from the line: Quote: |
<td class="body"><a href="/photography/enlarge/underwater-doubilet_pod_image.html"><img alt="Photo: Eel blenny peeking out of coral" src="/staticfiles/NGS/Shared/StaticFiles/Photography/Images/POD/u/underwater-doubilet-697088-ga.jpg"></a></td>
| ?
Note: The pattern string is constant upto Quote: |
/staticfiles/NGS/Shared/StaticFiles/Photography/Images/POD/
| The rest of it changes.
Thank you.
__________________ Imran
Linux User #467555 | Kubuntu 7.10 | Intel(R) Core(TM)2 Duo CPU 4500 @ 2.20GHz | 1 GB RAM | 160 GB SATA
Last edited by imranka; 11-12-2008 at 06:04 AM..
Reason: typo
|