<?php function r($str) { $m=preg_match('/kayak\/..\/.*/',$str); echo $m[1]; } r("/kayak/es/husa-ciudad-de-compostela-60337.htm?checkin=2014-05-01&checkout=2014-05-02");
You have javascript disabled. You will not be able to edit any code.