```clojure
(ns tabswitcher.utils)

(defn format-result [url]
  (clojure.string/replace url #"(^https?://)|(\?.+)" ""))
```

Remove www. from urls when filtering
user
```clojure
(ns tabswitcher.utils)

(defn format-result [url]
  (clojure.string/replace url #"(^https?://(www\.)?)|(\?.+)" ""))
```
assistant