On Sat, Aug 22, 2009 at 5:18 AM, PJB<pjbmancun...@gmail.com> wrote:
> Hehehe... your regex isn't much better!
>
> /<a\s+(.*?\s+)?href=["']?(.+?)["']?(\s+.*?)?>(.+?)<\/a>/is
>
> On Aug 21, 9:54 pm, Gonzalo Larralde <gonzalolarra...@gmail.com>
> wrote:
>> Or, maybe, you can try using this regex:
>>
>> /<a.*? href="(.*?)".*?>(.*?)<\/a>/
>>
>> and let them do whatever they want.

KISS! You'll *never* get an <area href=""> in that field :)

<rant>
{{{
    /<a\s+(.*?\s+)?href=["']?(.+?)["']?(\s+.*?)?>(.+?)<\/a\s*>/is
}}}
Oh, look, now mine is better than yours!
Jury, jury, come here now please! Which one is better? (?)
</rant>

:P

--
Gonzalo.

PS: My english sucks, sorry about that.

Reply via email to