Wednesday, June 28, 2023

How can I refactor with regex, the right single quotation mark with an apostrophe

Hello Vim forum,
I hope this is the correct vim forum firstly?

So my keyboard Belkin (Ergonomic Smart Keyboard) F8E208-BLK(K B23-BLK) has an apostrophe key, but not a right single quotation mark.

However my Google Contacts has duplicate data and version1 has the approved apostrophe, but version2 has the unapproved right single quotation mark.

How can I run a regex to refactor this in vimdiff?
Something like Terminal > vimdiff > right window > :s/<findRightSingleQuotationMark>/' > Enter.
The problem is I cannot type the right single quotation mark with the keyboard?  Perhaps I can somehow enter the regex with ISO 8859-1 Unicode U+2019?

Thanks for any help, as manually typing r' could be a lot of repeat.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/97929c1a-c211-489b-b2b6-a6990749a839n%40googlegroups.com.

No comments: