SyntaxFix
Write A Post
Hire A Developer
Questions
This regex should do it.
\b[a-z]+-[a-z]+\b
\b indicates a word-boundary.
\b