Working with zend-filter
Last Updated: January 30, 2018
To remove the unwanted part of the data, you can use the filters. You can use filters to change the input data to some other format. For example, you can make lower case input to upper case.
$filter = new \Zend\Filter\StringToUpper(); $filteredValue = $filter->filter(' email@example.com '); echo $filteredValue ;