CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 3387

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

See also:
Tip 13139:How to insert a new line into multiline text in the Find/Replace command?
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?


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   



Featuring:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info


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