Looking to match WS-810-REFERENCE-1
where the string must have -'s within it
And can't think of something to work perfectly
[a-zA-Z0-9\-]+
That will match but will also match words that do not have the - character
Thought of maybe this ([a-zA-Z0-9\-]+\-)+
But that will match WS-810-REFERENCE- missing the final segment.
Thoughts?