Looking for a bit of regex help. I\'d like to design an expression that matches a string with \"foo\" OR \"bar\", but not both \"foo\" AND \"b
\b(foo)\b|\b(bar)\b
And use only the first capture group.