title: Regex matching all but not empty
body: <p>A line has to be validated through regex,</p>
  
  <ol>
  <li><p>line can contain any characters, spaces, digits, floats.</p></li>
  <li><p>line should not be blank</p></li>
  </ol>
  
  <p>I tried this:</p>
  
  <pre><code>[A-Za-z0-9~`!#$%^&amp;*()_+-]+ //thinking of all the characters
  </code></pre>
  
  <p>Any alternative solution will be helpful</p>