title: Regex.Replace: How to use $groups followed by numbers
body: <p>With Regex::Replace we can use $1, $2, ... to match corresponding groups. But how can I use $1 followed by number. E.g. to replace 6 with 678?</p>
  
  <pre><code> Regex::Replace(text, "(6)", '$178');
  </code></pre>