public function stripUriString($uri) { return !preg_match('/[^a-zA-Z0-9_.-]/', $uri) ? true : false; }