grep

Related: code

Find words starting with #.

grep -oh '#\w+' *