CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 3153

CAD tip CAD tip # 7673:

Question CAD 
 %  platform  category 
Q - question

How to search/replace tabs in texts?

A - answer The standard AutoCAD search function - FIND - cannot find control characters in drawing texts. So you cannot use it to replace TABs.

You can use the add-on utility CADstudio srxText (see to perform search and replacements in any combinations of texts and conditions.

Specifically, to replace TABs e.g. by line feeds (new lines), use the following command:

SRXTEXT R \t \P {enter} {enter} D

You can also use the LISP function:

(srxtext "Regular" "\t" "\\P" "All")

100% *  CAD 
6.12.2010    5192×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 12803:How to add double line-spacing to AutoCAD paragraphs?
Tip 9265:RENAME on steroids - complex renaming of AutoCAD objects.
Tip 8065:How to add prefix or suffix to selected drawing texts?
Tip 7892:How to find blocks with an empty (not-filled-in) attribute?
Tip 7890:How to find missing numbers in a series of numbered blocks?

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.