title: How to extract last word in richtextbox in c#
body: <p>I am working with windows form. In my project i need to color the last word of rich text box. When someone write on the given text box of the application i need the last word that is just written on the richtextbox to be colored red or whatever. </p>
  
  <p>I found a way to extract the last word from the following link</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/system.windows.documents.textselection.select%28v=vs.95%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.windows.documents.textselection.select%28v=vs.95%29.aspx</a></p>
  
  <p>But i need more handy code to extract the last word if its possible. Please help. </p>