Thanks guys, afew more questions.
Just curiousity but what is :g//d (is it part of substitution)
As for the \(..\) that was a regular expression capture that I forgot to take out.
As for the s/.*//g what do you mean?
If instead of deleting \begin{} but rather replace it which say "%" what would be a good way of doing that with substitution?
When I try
Code:
:%s/\([\\item]\)/%/g
it does what scottn says and replaces alot of things. I guess I'm alittle confused on the notation for regular expressions.
Cheers