<?php $url = 'http://www.dendaspelletjes.nl'; $url = preg_replace('#^https?://#', '', $url); $url = preg_replace('#/(.*)#', '', $url); echo $url;
You have javascript disabled. You will not be able to edit any code.