Re: [PHP] Checking for HTTP:// at the start of a string and more ////

2003-03-01 Thread Ernest E Vogelsinger
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. --

Re: [PHP] Checking for HTTP:// at the start of a string and more////

2003-02-28 Thread Rasmus Lerdorf
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