That doesn't make the work you did any less confidential. Legal issues are fact specific. Deleting names doesn't change the facts, and makes it unlikely that you'll be able to wash the entire writing sample of anything and everything to do with the company.