Action to emulate "select word" on UUID

I have sort of a very specific feature request. I'd like to be able to trigger an action to select an entire UUID. For example: "if_you_double_click_this" the default system action will select everything between the quotes. I'd like to have an action that emulates that with uuids, which are - separated.

I think there might be a couple different ways to approach this, and I'm ok with making it more generic (i.e., extend selection to next ' or " character).

My ultimate goal is this:

on the following text, and everything between quotes is selected: "dead-beef-000-aaaa"

I don't think there is a way to achieve this.
However there would be ways to have a clipboard transformer that extracts only uuids from the copied text.