]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Vi trick for cleaning MS email address list for reuse
authorEdward Delaporte <delaport@illinois.edu>
Mon, 16 Oct 2023 17:07:02 +0000 (12:07 -0500)
committerEdward Delaporte <delaport@illinois.edu>
Mon, 16 Oct 2023 17:07:02 +0000 (12:07 -0500)
doc/cheatsheets/vi.md [new file with mode: 0644]

diff --git a/doc/cheatsheets/vi.md b/doc/cheatsheets/vi.md
new file mode 100644 (file)
index 0000000..5dc7cf4
--- /dev/null
@@ -0,0 +1,9 @@
+## Clean Microsoft Cruft from a list of emails
+
+Clean a copied list of Microsoft Email Addresses for re-use:
+
+If they're all on one line:
+
+```regex
+:s/[^<]+<([^>]+)>;/\1;/g
+```