2011-05-12, 11:46 PM
(2011-05-12, 09:54 PM)frostschutz Wrote: [ -> ]Consider making use of PHP's parse_url() function instead of using some hard to understand regex.
This function is not meant to validate the given URL ~PHP.net
(2011-05-12, 10:21 PM)Aries-Belgium Wrote: [ -> ](2011-05-12, 09:41 PM)Darth Stabro Wrote: [ -> ]And what's a regex for upper and lowercase letters, dashes, and numbers?
[A-Za-z0-9\-]
Thanks