Posted by Stefan Heinrichsen on 05/10/05 03:41
Am Mo 09.05.05 um 16:25 CEST schrieb "Fabian" <newspost@hotmail.com>:
> Hi all there,
>
> Sorry for this newbee question but how comes that the following
> pattern: $r = "%<td valign=top><a href=\"([^>]+?)\"(.*?)>%";
>
> does not return any result[...]
>
> Example of $pdata:
> <td width=80 align=center valign=top><a href="[...]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
How should this match against "<td valign=top>"? You may try the correct
<td> line or something like (untested)
%<td[^>]*><a href=\"([^>]+?)\"(.*?)>% as pattern.
stefan
Navigation:
[Reply to this message]
|