yonderbob Posted September 28, 2012 Share Posted September 28, 2012 Hi all, I have another question that is the opposite of what i asked before. Instead of adding text as a prefix or suffix i would like to know if it is possible aswell to remove text from within text: For example: I have these texts "I am not good", "he is not good", "what not to be" And i would like to remove the word "not" from all selected text so i would get "i am good", "he is good" , "what to be". The set word not will always be the same, so there is no need for user string input. Is that possible? Thanks in advance Quote Link to comment Share on other sites More sharing options...
MSasu Posted September 28, 2012 Share Posted September 28, 2012 Please check the FIND command - use "not " as what to find and "" (an empty string) as replacement. You can run this command on the entire drawing or just on a selection set. Just don't forget to include a space as sufix or prefix of the string to be replaced. Quote Link to comment Share on other sites More sharing options...
yonderbob Posted September 28, 2012 Author Share Posted September 28, 2012 Oh wow, would have never thought that function would actually work within autocad. The funny thing is i use the find/replace funtion in excel all the time Thanks alot msasu. Quote Link to comment Share on other sites More sharing options...
MSasu Posted September 28, 2012 Share Posted September 28, 2012 You're welcome! I believe is sometime confusing that in AutoCAD the said command reside inside Edit menu (for Windows compatibility reasons) as one may expect it in Modify menu along other commands intended to adjust existing entities of the drawing. Quote Link to comment Share on other sites More sharing options...
nod684 Posted September 28, 2012 Share Posted September 28, 2012 Please check the FIND command - use "not " as what to find and "" (an empty string) as replacement. You can run this command on the entire drawing or just on a selection set.Just don't forget to include a space as sufix or prefix of the string to be replaced. I can't get it done. i a not good - becomes - i am "" good Quote Link to comment Share on other sites More sharing options...
MSasu Posted September 28, 2012 Share Posted September 28, 2012 I meant to use the content inside the quotes - that it, let empty the Replace field. For this reason I have mentioned: (an empty string) Quote Link to comment Share on other sites More sharing options...
nod684 Posted September 28, 2012 Share Posted September 28, 2012 I meant to use the content inside the quotes - that it, let empty the Replace field. For this reason I have mentioned: sorry i though i need to put the "" like in autolisp. my bad! Quote Link to comment Share on other sites More sharing options...
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.