title: Trying to find Twitter RT's with Regular Expressions and PHP
body: <p>I'm trying to find the correct Regular Expression to match all RT scenarios on Twitter (can't wait to Twitter's new retweet API).
  The way I see it, RT's can be at the beginning, middle, or end of the string returned from Twitter.
  So, I need something at the beginning and end of this Regular Expression:</p>
  
  <blockquote>
    <p>([Rr])([Tt])</p>
  </blockquote>
  
  <p>No matter what I try, I cannot match all scenarios in one Regular Expression. <br/>I tried </p>
  
  <blockquote>
    <p>[^|\s+]</p>
  </blockquote>
  
  <p>to match the scenario where the RT will appear either at the beginning of the string or after one or more whitespace characters, but it didn't work the same for the end of the string or RT. <br/>I tried</p>
  
  <blockquote>
    <p>[\s+|$]</p>
  </blockquote>
  
  <p>to match a case when the RT appear either in the end of the string or there's one or more whitespace characters following it, same as with the 'pre' --  it didn't work.</p>
  
  <p>Can someone please explain what am I doing wrong here? Any help or suggestions will be highly appreciated (as always :) )</p>