BE very careful.
Make sure you are buying "fuel proof" foam.
There are hundreds of different foams out there but relatively few that will not soften or harden & fall apart when exposed to modern fuels.
If you rreally can not afford the OEM filter perhaps you will be beter served with a paor of hand shears or sythe