Re: Testing a URL with regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Then Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> said:

Why do you need a regex here? All the URL's have the same foremost
component, which is exactly 38 characters in length. Do you perchance
need a regualr expression to parse other URL's?

If you just need to extract everything before the first ampersand, then
strpos and substr would be the best to use.


Ash
www.ashleysheridan.co.uk

Ashley and all, thank you for your assistance.

--
roger




--
Sign Up for free Email at http://ureg.home.net.my/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux