title: What is the java regex to extract words and abbreviations?
body: <p>Consider this sentence: I studied at U.C.L.A in U.S.A.. One of my professors' kid was my best friend.</p>
  
  <p>Using the regex <code>[\\w']+</code> suggested in <a href="https://stackoverflow.com/questions/276546/extract-words-out-of-a-text-file">this question</a>, I can extract the words. But, the abbreviated words are coming as separate words for each characters. So, U.S.A. is getting extracted as  three words as U, S, and A. I want to extract the abbreviated words like U.C.L.A. and U.S.A. also as one word. </p>
  
  <p>Please suggest the regex.</p>
  
  <p>Adding one additional requirement:
  The words like "FBs", "GTs" etc. should be considered as one word.</p>