At 01:17 02.03.2003, Kris Jones said:
[snip]
>>Untested:
>>
>>if (preg_match('/^http:\/\/[^\.\s]+\.[^\s]+\/$/i', $string))
>>// valid string
>>else
>>// invalid string
>>
>
>I've also been looking for this information. Can you please point me to a
>l
Untested:
if (preg_match('/^http:\/\/[^\.\s]+\.[^\s]+\/$/i', $string))
// valid string
else
// invalid string
Should match a string beginning with 'http://', followed by one or more
characters that are no dots or whitespace, followed by a dot, followed >by
one or more characters that are no
2 matches
Mail list logo