2003 ford ranger how do you remove the hoses from the fuel filter?

You need a special tool available at most auto parts stores.

Don't waste your time at auto store looking for it .You won't be able to find one small enough to get in there to release the line. I own a 2003 Ranger Edge Pickup .The only line you have access for is the 3/8' S line the 3 5/16 lines theres not enough room to remove.