At 05:09 01.03.2003, Philip J. Newman said:
[snip]
>I would like to check for HTTP:// at the start of a string and for at least
>1 . and a / at the end of a string.
>
>I have tried ereg, but the documentation is not too clear how to format.
--
You don't need a regular expression. Look at the substr() function.
-Rasmus
On Sat, 1 Mar 2003, Philip J. Newman wrote:
> I would like to check for HTTP:// at the start of a string and for at least
> 1 . and a / at the end of a string.
>
> I have tried ereg, but the documentation is not too cle
I would like to check for HTTP:// at the start of a string and for at least
1 . and a / at the end of a string.
I have tried ereg, but the documentation is not too clear how to format.
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends
3 matches
Mail list logo