in reply to removing C style comments from text files
For multiline comments you want '.' to match "\n", do this with a s///sg But as the faq answer says, this isn't enough.