Go to the All view and block each community that has memes.
subscribe to commutes that you like.
This ways, all your views are meme-free.
Bonus tip for finding new commuties: create a new account and go to your All view. Every post you see, check if you like the community. If you like it, subscribe to it on your normal account and then block it on your new account.
The new account works kind of like check off system. Each community that you made a decision on (subscribe or don't care) will no longer be visible on the new account. This way, other communities that are smaller will also be revealed.
not memes for me but anime. there's no way to block whole instances i don't wanna see. if i don't wanna see ani.social on my feed at all i have to block every community on the instance, which is just not possible.
memes though is gonna be hard for you because a lot of people use meme formats to communicate in any topic. the science side of lemmy memes about science stuff. the programmers meme about computer stuff. but that's not all they do, there's more than just memes, there's actual discussion too. to completely get rid of memes and never see them on a lemmy feed again is gonna be an impossible task.