protected function validateUrl() { $this->url->stripWWW(); $this->url->stripLastSlash(); return preg_match('~/(?:[0-9]{5,12})$~i', $this->url); }