Delete all documents with dot in field name

Well! The problem is - I don't really know how many fields with dot I have. I need something
if (any field content ".")
delete document