title: Using SED with wildcard
body: <p>I want to replace a string with wildcard but it doesn't work.</p>
  
  <p>The string looks like "some-string-8"</p>
  
  <p>I wrote</p>
  
  <pre><code>sed -i 's/string-*/string-0/g' file.txt
  </code></pre>
  
  <p>but the output is </p>
  
  <pre><code>some-string-08
  </code></pre>