3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = 'http://www.dendaspelletjes.nl'; $url = preg_replace('#^https?://#', '', $url); $url = preg_replace('#/(.*)#', '', $url); $url = preg_replace('#^www\.#', '', $url); echo $url;
Output for 4.3.0 - 7.1.0
dendaspelletjes.nl