how to use preg_match so that only urls of the following format will be accepted? http://www.example.co.uk/userid