Thinking more about this maybe it would be better to let the user decide what to search for. or use both top for common terms and this for not so common terms. You also have to input the * for wild cards and use , if you going to search for more then one term. its also important to note when typing the search terms you can't use spaces.
(defun C:selTxt (/ SS txt)
(setq txt (getstring "\nSearch Text for Terms: ")) ;hit enter for defult options.
(if (eq txt "")
(setq txt "Area*,*m2") ;set defult search options here
)
(if (setq SS (ssget "_X" (list '(0 . "*TEXT") (cons 1 txt) (cons 410 (getvar 'ctab)))))
(sssetfirst nil ss)
(prompt (strcat "\nText doesn't contain " txt))
)
(princ)
)
Example
Search Text for: area*,*m2 This would work like above lisp.
Search Text for: *area* This would select text that has the word "area" in it.
Search Text for: *door This would select text that ends with "door"
Search Text for: area*,*m2,*area*,*door This would select all 3 examples text in one go.