title: regex to get the last item after space
body: <p>How to get the last item by regex?</p>
  
  <pre><code>"Read the information failed.
  111 a bcd
  
  SAM Error Log not up supported"
  </code></pre>
  
  <p>I did this </p>
  
  <pre><code>111\s(.*)$
  </code></pre>
  
  <p>but it gives me</p>
  
  <pre><code>output = "a bcd sam"
  </code></pre>
  
  <p>But, I want output of regex which starts with 111 as</p>
  
  <pre><code>output = "sam" // for the line starts with 111
  </code></pre>
  
  <p>Also, how can i make change if there is any space before 111?</p>
  
  <p>you can test this at <a href="https://regex-golang.appspot.com/assets/html/index.html" rel="nofollow">https://regex-golang.appspot.com/assets/html/index.html</a></p>