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

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    3532x  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 9265:RENAME on steroids - complex renaming of AutoCAD objects.
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).
Tip 4136:How to add thousands separators in AutoCAD numbers?

Back   All CAD Tips All CAD tips&tricks

Disable ref-editing objects that are not in the working set. « | » Find and select blocks with a given attribute.

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   

Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin More info

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