I am trying to develop some regex to find all words that start with an @:
I thought that \\@\\w+ would do it but this also matches words that have @ con
\\@\\w+
Try using
(?<=^|\s)@\w+
Can't remember if c# allows alternation in a look behind
RegExr