Remove words from string that have a prefix of # or @?
<p>I have a block of text like this:</p>

<pre><code>Hello @Simon, I had a great day today. #StackOverflow
</code></pre>

<p>I want to find the most elegant solution to stripping it down to look like this:</p>

<pre><code>Hello, I had a great day today.
</code></pre>

<p>i.e. I want to strip out all words that have a prefix of # and @.  (And yes, im inspecting tweets)</p>

<p>I am new to python, and I would be ok doing this on single words, but not sure on the best way to achieve this on a string that contains multiple words.</p>

<p>My first thoughts would be to use replace, but that would just strip out the actual @ and # symbols.  <strong>Looking for the best way to strip out any word that has a prefix of # or @.</strong></p>

<p>-EDIT-
Not sure if it this invalidates the answers give, but for acceptance, I also need to strip out where multiple words contain a prefix of # or $.  e.g. hello #hiya #ello</p>
