CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 1613 

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    4979×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
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?
Tip 7241:Searching text in DWG drawings (without AutoCAD).

Back   All CAD Tips All CAD tips&tricks

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   

Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info

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.