.. _zend.validator.file.exclude-extension: ExcludeExtension ---------------- ``Zend\Validator\File\ExcludeExtension`` checks the extension of files. It will assert ``false`` when a given file has one the a defined extensions. This validator is inversely related to the :ref:`Extension validator `. Please refer to the :ref:`Extension validator ` for options and usage examples.