title: Replace everything in the text file after IP Address
body: <p>I have a text file in which I have something like this-</p>
  
  <pre><code>10.2.57.44      56538154    3028
  120.149.20.197  28909678    3166
  10.90.158.161   869126135   6025
  </code></pre>
  
  <p>In that text file, I have around 400,000 rows exactly as above. I have opened the same text file in Notepad++. I needed a way to remove everything from that text file leaving only IP Address (first column in the above text file is IP Address). I think, I can do that using Regular Expression. And notepad++ also has the option of using Regular Expression. But not sure what regular expression I need to use. Can anyone help me out here?</p>
  
  <p>So output should be something like this-</p>
  
  <pre><code>10.2.57.44
  120.149.20.197
  10.90.158.161
  </code></pre>