Pattern Matching inbound DID

I’m having a bit of difficulty understanding the pattern matching of the inbound route DID configuration.

The trouble that I’m having is that the inbound DID that is sent varies depending on if people put the area code in front of the number or not. Is there a way to use the pattern match function to match any DID that comes in with at least xxxxxxx of a number? regardless of if they put the area code in front of it?

Thanks