<?php $url = ':www.google.co.m'; preg_match('/(.*):\/\/.*/', $url, $match); if(isset($match))print_R($match);
You have javascript disabled. You will not be able to edit any code.