How to use wildcard in AutoCAD, complete tutorial

Updated on February 23, 2025 | By Jaiprakash Pandey | Category AutoCAD | min reading time


AutoCAD essentials for beginners free course

Get AutoCAD essentials beginners course completely for free and get a certificate when you finish the course.

No credit card required, lifetime access

Wildcards are special characters that you can use in AutoCAD create intelligent selection filters and a lot more.

AutoCAD supports most of the popular wildcard characters. 

You can see a list of supported wildcard characters in AutoCAD on this Autodesk knowledge network page.

As an example, XYZ* would mean any string of characters where first three characters are XYZ and remaining characters can be anything represented by the * wildcard character.

Similarly XYZ??ABC would mean a string of characters starting with XYZ followed by next two characters that can be anything represented with ?? wildcard then remaining three characters as ABC.

Although the wildcards can be used in a variety of situations but for the sake of simplicity, I will explain its application in two situations i.e. Find and Replace and Qselect.

So, if you are wondering how to use wildcard in AutoCAD then I will use this sample drawing for explaining it in detail.

Wildcards in Find and Replace

You can find and replace text string using FIND command of AutoCAD.

Let’s say we have a drawing in which lifts are mentioned as LIFT X where X indicates lift number.

In order to change this name from LIFT X to ELEV X, we will use FIND command.

Type FIND and press enter to start the command, Find and Replace window as shown in the image below will open.

Expand the window by clicking the down pointing arrow on the lower left side of the window and make sure "Use wildcards" radio button is checked as shown in the image above.

You can select types of text to include in search from Text Types panel of Find and Replace window, in order to include all text types select all radio buttons as shown in the image above.

Now type LIFT # in Find what field and type ELEV in the Replace with the field.

Now click in checkbox marked as List results under Replace with field and click on find. 

A list of all text entries with first four characters as LIFT followed by a blank space and a numeral value will be listed.

In the wildcard entry above # represents a numeric character.

Select all the text elements that you want to change, you can select multiple entries by pressing and holding CTRL key.

Once you have selected all text entries to change click on Replace button.

All text entries will now be changed to ELEV X, click on Done button to exit the Find and Replace window.

Using Wildcards with QSELECT

To select text from drawing you can also use wildcard entries with QSELECT command.

Type QSELECT and press enter, now select Entire drawing in apply to drop down menu.

Then select Text from object type drop down menu and select Contents from properties panel.

Then select * Wildcard Match from operator drop down menu and type LIFT* in the value field as shown in the image below.

Once you have made all these settings click on OK to close the Quick Select window, all the text elements contacting first four characters as LIFT will be selected.

Using wildcard for layer filters

If you have a long list of layers then you can create filters using wildcards to make the list more manageable.

As an example in our sample drawing I have used *door* to create a layer filter containing all layers with word door in it.

Here asterisk sign before and after "door" word indicates that the characters can be anything before door and it can be anything after door.

If you want to create a filter with a specific word or words at a certain place in the name then you can use "?" (question mark) wildcard character.

As an example ????door will create a filter where first four characters can be anything as shown by four question marks and then the following characters should be "door".

Summary

Apart from these specific use cases wildcards can be used almost anywhere there is a name filter in AutoCAD.

Do you have questions related to this topic?

Let us know in the comment section down below.


Disclosure: Our content is supported by readers like you. We might earn a commission from affiliated products you buy from links placed on our website without any extra cost to you. This does not influence our content recommendations or editorial process. Learn more about our affiliate process here.

About the Author

Jaiprakash Pandey is the published author of “Practical AutoCAD book” by Packt publication he is also an Autodesk AutoCAD certified professional and Autodesk expert elite community. He has been delivering CAD training to corporate clients for more than 8 years and his clients include Steel, Power, Automobile industries and also government organizations, fortune 500 companies and the military.

Continue Learning...

Learn CAD and engineering tools for free

Get all the free courses and eBooks with lifetime access. Also, get a certificate when you finish the courses.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}