Can a snail mail address be recognized?

I'm trying to make a macro that is triggered by my copying something to the keyboard, and then it recognizes whether or not it us a United States Postal address (could be any country, but that's where I am). These are almost always in this format:

Johnny AppleSeed
12345 AppleSeed Rd.
Cupertino, CA 68361

macOS can recognize them, so it would seem that there's a way to tap into that. My goal is to be able to copy it from wherever, and if it's an address, it automatically launches my envelope app and pastes it in automatically.

Any suggestions?

I'm 99% sure this is achievable with AppleScriptObjectiveC... but I don't actually know how offhand.