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

CAD tip CAD tip # 3894:

Question CAD 
 %  platform  category 
Q - question

How to replace hard returns (EOL) in MText?

A - answer Use the LISP application by CAD Studio - srxText (Download) to leave out end-of-paragraph control characters from MText objects or replace them with soft returns (spaces).

Enter the searched text as a regular expression \\P and replace this text by a single space (or e.g. \P* ). Perform the replacement on all selected Mtext entities.

100% *  CAD 
28.6.2004    8640×  
Prices - CAD eShop:

See also:
Tip 13831:ReplMTcol - recoloring parts of text in paragraph Mtext.
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?

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.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.