title: How to use regex to append string to the matched results
body: <p>I'm trying to replace <code>0-1.</code> with <code>0-1.&lt;br&gt;</code> how do i do that?<br></p>
  
  <p>update:</p>
  
  <p>  Sorry for my vague question. You guys misunderstood me. '0-1.' is the pattern i want to replace, which means the pattern should be like `"/(\d)+(-)*(\d)*\./"` and the string may be '1.' '0-1.' or something that expression could represent </p>