title: Sed command and regular expressions
body: <p>I need to change 'bind a.b.c.d:80' to 'bind x.b.f.d:80'. I wrote below command for this purpose but it is not working, i don't know why?</p>
  
  <pre><code>sed -i 's,bind *:35357,bind x.y.z.a:35357,' haproxy-sample.cfg
  </code></pre>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks in advance.</p>