(ns tabswitcher.utils)

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

(ns tabswitcher.utils)

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

Remove www. from urls when filtering
Remove www. from urls when filtering

jhchabran/tabswitcher,jhchabran/tabswitcher