CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 4009 

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 www.cadstudio.cz/download) 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")

ACAD
100% *  CAD 
6.12.2010    4870×  
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   



Featuring:
Use Google Earth images in your AutoCAD projects with the Plex.Earth 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.
TOPlist