title: Regular expression to get only the first word from each line
body: <p>I have a text file </p>
  
  <pre><code>@sp_id      int,    
  @sp_name                varchar(120),
  @sp_gender              varchar(10),
  @sp_date_of_birth       varchar(10),
  @sp_address             varchar(120),
  @sp_is_active           int, 
  @sp_role            int
  </code></pre>
  
  <p>Here, I want to get only the first word from each line. How can I do this? The spaces between the words may be <strong>space</strong> or <strong>tab</strong> etc. </p>