If you’re on iOS, I highly recommend WideProtect [1] which allows you to define filters matching a range of numbers based on prefix. For example, you can block all numbers from a specific area code that you receive a lot of spam calls from. It has been an absolute lifesaver for me.