Also using (re-seq) function can extend the return value to a string containing all the numbers existing in the input string in order:
(defn convert-to-int [s]
(->> (re-seq #"\d" s)
(apply str)
(Integer.)))
(convert-to-int "10not123") => 10123
(type *1) => java.lang.Integer