• Home
  • Training Books
  • Subscribe to Our Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
  • MicroStation
    • MicroStation Basic Tutorial
You are here: Home / AutoCAD / How to find and replace text in AutoCAD

How to find and replace text in AutoCAD

October 17, 2011 by Edwin Prakoso 19 Comments

I had a question last week, asking if there is any AutoLISP program to find a specific text and replace it with another text. I decided to answer the question by publishing this article, instead of replying the email. So more people can read the answer.

You don’t need AutoLISP to do that. If you go to annotate tab, in text panel, you can find a small search box. That’s probably why it’s not so easy to find.

search

We just need to type the word or phrase we want to find, then press enter.

You will see AutoCAD open search dialog box. AutoCAD will also zoom to first text it find.

Tips: you can open ‘find and replace dialog box’ by typing FIND [enter] in command line

find and replace

Type what text you want to replace with then click replace. You can limit your searches to current space (model or layout), selected objects, or entire drawing.

More find options

Click more options button to expand the find dialog box. You can refine your search further by using these options.

advanced options

Yes, it can find text in blocks or xref too. But it can’t find value in fields. I think it will be great to find values in field to, because sometimes we need to review fields values.

For additional information, we also have spell checker in AutoCAD.

check spelling

It works almost the same with find and replace text, only here, we compare it to AutoCAD dictionary.

About Edwin Prakoso

I work as a Sr. Consultant in PT Cipta Satria Informatika. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and I am also active in Autodesk discussion forum. I'm a member of Autodesk Expert Elite, an appreciation for individuals who give contributions to the Autodesk community.
Connect with me on twitter or LinkedIn.

Filed Under: AutoCAD Tagged With: AutoCAD search, autocad tips

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

19 Comments
Inline Feedbacks
View all comments
Gunawan
Gunawan
5 years ago

Jika mencari text di autocad 2007 bagaimana pak

0
Reply
Lee Malaspina
Lee Malaspina
8 years ago

Is there any text equivalent of TAB so that I can incorporate this command in scripts?

0
Reply
Edwin Prakoso
Edwin Prakoso
Author
Reply to  Lee Malaspina
8 years ago

If you use AutoCAD, you can use \t. But this is an AutoLISP command, so it will not work for AutoCAD LT. Read more about control character string here.

0
Reply
Mi
Mi
8 years ago

How can you delete a text that has been found with Find and Replace?

For example I’ve got a drawing full of attributes containing various velocities – 50 km/h, 75 km/h, 100 km/h etc.
I’d like to search the whole drawing and delete all velocities. The best I could achieve so far is replacing them with a space.
Any ideas?

0
Reply
Edwin Prakoso
Edwin Prakoso
Author
Reply to  Mi
8 years ago

If they are texts, you can use FILTER or QSELECT to select them by contents. But it doesn’t work if the texts are inside blocks.

0
Reply
Ricky
Ricky
9 years ago

I’ve got problem with find and replace.
For example, I want to replace “B1,B11 and B110” with – “BA – A2”
what i do is
1. I type “B” in find what box. Then I press find
2. There is so many result from B1 to B212
3, Then I type BA-A2 in replace with box
4. I highlighted B1, B11 and B110
5. When i press replace it changed to BA-A21 , BA – A211 , and BA – A2110

It only replaces the B not the whole text, can you help me with this?
thanks

1
Reply
« Previous 1 2
wpdiscuz   wpDiscuz

Featured

What’s new in AutoCAD: drawing and drafting tools

Another AutoCAD new features roundup. In this post we will see what are drawing and drafting features have been added.

Recent Articles

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available

Advertisement

New on CADnotes

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available
  • Autodesk Forma Design Contest
  • Revit 2025: Toposolid Enhancements

Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

Get Connected

CADnotes on FacebookCADnotes on InstagramCADnotes on TwitterCADnotes on YouTube

© 2009 – 2025 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz