Re: search and replace using a list of characters to replace

2012-11-03 Thread Tim Chase
On 11/03/12 14:42, stosss wrote: > Just trying to learn Welcome aboard. We're a pretty friendly bunch here and are glad to have you. > Asking because I don't know and I don't use smart quotes. What makes > them so difficult to remove in a s/search/replace/g ? > > Aren't they just quotation mark

Re: search and replace using a list of characters to replace

2012-11-03 Thread Tony Mechelynck
On 03/11/12 20:42, stosss wrote: Greetings, Just trying to learn On Sat, Nov 3, 2012 at 3:24 PM, Tim Chase wrote: On 11/03/12 14:11, Chris Lott wrote: I have a large text file in which I need to remove all punctuation, all special characters ("smart quotes") and the like, and a bunch of selec

Re: search and replace using a list of characters to replace

2012-11-03 Thread stosss
Greetings, Just trying to learn On Sat, Nov 3, 2012 at 3:24 PM, Tim Chase wrote: > On 11/03/12 14:11, Chris Lott wrote: >> I have a large text file in which I need to remove all punctuation, >> all special characters ("smart quotes") and the like, and a bunch of >> selected words. >> >> Can this

Re: search and replace using a list of characters to replace

2012-11-03 Thread Tim Chase
On 11/03/12 14:11, Chris Lott wrote: > I have a large text file in which I need to remove all punctuation, > all special characters ("smart quotes") and the like, and a bunch of > selected words. > > Can this be done within Vim? Yes. Oh, you want to know *how*? :-P The smart-quotes are the hard

search and replace using a list of characters to replace

2012-11-03 Thread Chris Lott
I have a large text file in which I need to remove all punctuation, all special characters ("smart quotes") and the like, and a bunch of selected words. Can this be done within Vim? c -- Chris Lott -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below