There are a few ways to block text messages from a specific area code. One way is to use your carrier's blocking features. For example, AT&T has a free service called Smart Limits that allows you to block texts from certain numbers. You can also download third-party apps that offer similar functionality. Another way to block texts from a specific area code is to simply not respond when you receive one. This will eventually cause the sender to stop sending messages if they think you're no longer interested in receiving them. Finally, you can ask your carrier to add your number to the National Do Not Call Registry which will stop most telemarketers and spammers from calling or texting you.