happyunited Posted August 4, 2009 Posted August 4, 2009 Hi I have a problem in a drawing where I need some text sorted. The text is currently like this +9. 07 (2spaces between.&0), I need to do a find and replace so that the text reads +9.07 (no spaces). These are spot heights and there are hundreds of them! I know you can use * as a wild card match but I'm lost! Cheers Quote
ReMark Posted August 4, 2009 Posted August 4, 2009 And Find & Replace doesn't work because of the two spaces? Quote
happyunited Posted August 4, 2009 Author Posted August 4, 2009 And Find & Replace doesn't work because of the two spaces? I have tried and tried but I end up with the drawing looking like this; +9****************07 Quote
ReMark Posted August 4, 2009 Posted August 4, 2009 Maybe one of the other wild-card characters would work? Quote
ReMark Posted August 4, 2009 Posted August 4, 2009 Answered my own question. Use Find and Replace. For the criteria to match in the Find field use: 9.[ ][ ]07 Between the brackets press the space bar. You don't want it to look like this: 9.[][]07 as it won't work. Quote
happyunited Posted August 4, 2009 Author Posted August 4, 2009 Answered my own question. Use Find and Replace. For the criteria to match in the Find field use: 9.[ ][ ]07 Between the brackets press the space bar. You don't want it to look like this: 9.[][]07 as it won't work. and what should I replace it with? sorry this is driving me mad Done** Replace with . and jobs a good one!! thank you very much Quote
ReMark Posted August 4, 2009 Posted August 4, 2009 Guess I wasn't clear? When the Find and Replace dialogue window appears in the blank box under the words Find what: I want you to type the following just as it appears here: 9.[ ][ ]07 That is the number 9 followed by a period (or dot) followed by a left bracket, then press the space bar, a right bracket, another left bracket, then press the space bar, a right bracket followed by the numbers 0 and 7. In the blank box under the words Replace with: I want you to type the following just as it appears here: 9.07 That is the number 9 followed by a period (or dot) followed by the numbers 0 and 7. This last number, 9.07, is what you wanted right? The first number, while looking somewhat similar, has two spaces to the right of the period and before the 0. It looks like this: 9. 07. See the difference? Quote
ReMark Posted August 4, 2009 Posted August 4, 2009 There are a total of ten wild-card characters available in Find & Replace. The use of the brackets [ ] matches any one of the characters enclosed between; for example, [XY]Z matches XZ and YZ. In your case the space we deliberately put between the brackets is translated literally, thus, AutoCAD knows we are looking for two spaces. I suppose I could have put two spaces between one set of brackets and it may have worked just as well. I'll have to test that out. Quote
happyunited Posted August 4, 2009 Author Posted August 4, 2009 Excellent, thanks again! Would there be a list of all these wildcards? Quote
ReMark Posted August 4, 2009 Posted August 4, 2009 Consult your Help files. Look for the topic Find and Replace dialog box (text). Then click on the Concept tab. All the wild-cards are listed. Quote
ReMark Posted August 4, 2009 Posted August 4, 2009 I just tried using only one set of brackets with two spaces between them and it did not work. Quote
happyunited Posted August 4, 2009 Author Posted August 4, 2009 I just tried using only one set of brackets with two spaces between them and it did not work. Thanks again for your help, much appreciated. Quote
psych Posted August 4, 2009 Posted August 4, 2009 you use the find replace command. in the find text string box type the following .spacespace (spacespace is space bar twice) in the replace box just put in . then select replace all this will change all text that has a . with two spaces after it to just a period Quote
eldon Posted August 4, 2009 Posted August 4, 2009 Just trying that out in my version, and in Find and Replace Options, I had to unclick 'Find whole words only' Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.