Edit label value in legend - Prometheus Data source

is there a regex to pull out a piece that I want in legend with prometheus data source?

image

I need to remove the whole sentence after the hyphen. It’ll be like “US”