strip links and assets from message