title: Notepad++: How to remove all string except containing period
body: <p>I have numerous <code>SELECT</code> statements conjoined by <code>UNION</code> keyword in a single file. What I want to do is to extract all the <code>db.table</code> strings only? How can I delete all words not containing period (.) using regex in notepad++ editor? Database and table are the only ones with a period.</p>
  
  <p>It's okay with me even if new lines are not removed. Though, as a learning bonus for everyone seeing this post, you can also show the regex that trims the new lines, that will show this output: </p>
  
  <pre><code>db.table1
  db.table2
  ...
  db.tablen
  </code></pre>