<?php

$text = "http://jkivit.hyves.nl/index.html";
// $regex = "@^(?:http://)?([^/]+)\.hyves\.nl@i";
$regex = "/([a-z0-9-_]+)\.hyves\.nl/i";

preg_match($regex, $text, $matches);
print_r($matches);

?>
