title: Regular expression in html to create same pattern
body: <p>I want to create multiple boxes with background and border with same pattern, So I just have to create boxes nth time or is there any formula which use that regular expression and repeat the same code in html.I want to append child with parent class box.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div style="border: 1px solid gray;background-color: black;width: 10px;height: 10px "&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>