CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.124.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 7249:
Question
A
To select text objects containing a given text string, use the QSELECT command, choose the object type Text (or Mtext), the property Contents and the operator "* Wildcards". In the field Value then enter the searched text including the wildcard charactes - e.g. *123* selects all text entities containing the string "123"; or A* selects all texts starting with "A" (uppercase).
Similarly you can use the FILTER command and its filter value Text, value and type the text mask in the field X.
Of course you can also use the LISP expression for filtered selection set of objects - e.g. again the texts starting with "A":
(ssget"_X" '((0 . "*TEXT")(1 . "A*")))
ACADADT
9.3.2010
19949×
this tip shared by ARKANCE experts applies to: AutoCAD · AutoCAD Architecture ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

What is the ARKANCE Community?