protected function validateUrl() { $this->url->stripQueryString(); return preg_match('~scribd\\.com/(doc|document)/(?:[0-9]+)/(?:[^/]+)/?$~i', $this->url); }