If it is a single bit of text, I'll leave you with this:
(defun text-remover (string)
(setq $acad (vlax-get-acad-object)
$doc (vla-get-activedocument $acad)
model (vla-get-modelspace $doc)
)
(vlax-for each model
(cond ((vlax-property-available-p each 'TextString)
(if (= (vla-get-TextString each) string)
(vla-erase each)
)
)
)
)
(princ)
)
Now, it's your job to figure out how to incorporate that function into a lisp command. Example:
(defun c:eponymous (/ var)
(you figure out what goes here)
(princ)
)
Are you up to the challenge? Look under g in the acad_dev.chm file under the help folder in the ADT folder. Extra credit if you can, by breaking down the word eponymous, tell the definition of it. No cheating.