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

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 ( 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    7318×  
Comments   Tell a friend
applies to: AutoCAD · AutoCAD Architecture · AutoCAD Map · MDT ·

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 7673:How to search/replace tabs in texts?
Tip 7241:Searching text in DWG drawings (without AutoCAD).

Back   All CAD Tips All CAD tips&tricks

Can I use drawings created in a Trial version of a program? « | » How to set gradient color background for AutoCAD drawing window?

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   

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