title: Regex pro­blem with finding first space
body: <p>I have such lines:</p>
  
  <pre><code>url.ru/?kluch word word word
  url.ru/?2kluch word
  url.ru/?2kluch word word
  url.ru/?2kluch_word word-word
  </code></pre>
  
  <p>I need to put | between url and first space.</p>
  
  <p>Try this:</p>
  
  <p><strong>Find</strong>: ^(.+)\s(.+)</p>
  
  <p><strong>Replace with:</strong> $1|$2</p>
  
  <p>But it doesn't work how i need.</p>