Posted by Michael Fesser on 02/12/07 17:28
..oO(Rik) >'/^https?:\/\/[a-z0-9-]+(\.[a-z0-9-]+)+/i' With another delimiter you could avoid the escaping of slashes and make the regexp a bit more readable (IMHO): '#^https?://[a-z0-9-]+(\.[a-z0-9-]+)+#i' Just my 2 cents. Micha
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming