[lug] vi wildcards

John Starkey jstarkey at advancecreations.com
Thu May 24 00:42:05 MDT 2001


I'm trying to delete about 500 SPAN tags in a document I have to code
using vi. All of them include a css class. Can someone tell me how to use
wildcards in a :s statement?

I've tried:

:1,$s/<SPAN CLASS=\"*\">//g
:1,$a/<SPAN CLASS=\"\*\">//g

Help????

Thanks,

John





More information about the LUG mailing list