22 Oct 24

Before I forget this, here’s a simple Vim command to strip XML or HTML tags from a buffer. The expression is non-greedy and catches tags that span multiple lines.

:%s/<_.{-1,}>//g

by wheresalice 1 year ago
Tags: