<?php $url = "http://www.mysite.com/section/index.php"; preg_match('/((?:\w+\.)+\w+)/', $url, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.