<?php $url = 'http://www.sheknows.com'; $pattern = '/http:\/\/(www\.)?/'; $replace = ''; echo preg_replace($pattern, $replace, $url);
You have javascript disabled. You will not be able to edit any code.