|
Posted by Daz on 02/10/07 22:34
On Feb 10, 8:41 pm, "deko" <d...@nospam.com> wrote:
> geturl.php
>
> Too much code to paste here, but have a look athttp://www.liarsscourge.com/
>
> So far, I have not found a string that can break this...
>
> Any built-in functions or suggestions for improvement?
>
> Thanks in advance.
I don't want to sound negative here, but what exactly is the point?
The reason I ask, is because I see no reason why you can't extract it
with a single regex expression, and then you could use another one to
validate it. It's simple enough to validate, the question is how valid
do you want it to be. Should you need to specify each TLD, or do you
just need to match a pattern. In either case, 2 or 3 regex expressions
max should be able to do what you are after. With a little extra
crafting, you should be able to extract multiple URLs in one go.
Navigation:
[Reply to this message]
|