title: How to use a regular expression to remove lines without a word?
body: <p>I am using textmate to edit a file. I would like to remove all the lines not containing a word. Here is an example.</p>
  <pre><code>apple ipad
  hp touch pad
  samsung galaxy tab
  motorola xoom
  </code></pre>
  <p>How can i remove all the line not containing the word &quot;pad&quot;, and get this result, using Regular Expression??</p>
  <pre><code>apple ipad
  hp touch pad
  </code></pre>
  <p>Thanks all.</p>