filter (something) out of (something)
To use a filter to remove something from something else, usually a liquid. We can use this machine to filter any pollutants out of the water sample.
filter something out of something
and filter something outto remove something from a fluid by running it through a filter. We filtered the odors out of the water and made it fit to drink. I'm glad you filtered out the odor.