Removing fuel filter from 2005 Towncar

How do I remove the old filter from the rearward end of the fuel line? It has flanges inside a housing which hold the old filter in

You need a Ford fuel line disconnect tool. The auto stores have them for anywhere from $2 to $10 depending on how good, and if you get just the size you need, or the whole set.

that did the trick. Thanks