title: regex match and remove strings like `\color{*}` in PHP
body: <p>That string</p>
  
  <pre><code>\[\color{Blue}{4} \times 2 \times 5 \times \color{Blue}{25} = \underbrace{\color{Blue}{4} \times \color{Blue}{25}}_{100} \times 5 \times 2 = \underbrace{100 \times 5}_{500} \times 2 = 500 \times 2 = 1\ 000\]
  </code></pre>
  
  <p>I want to match and remove strings like <code>\color{*}</code> in PHP</p>
  
  <p><code>\color</code> AND the next <code>{}</code> AND its content:</p>
  
  <ul>
  <li>\color{Blue}</li>
  <li>\color{Red}</li>
  <li>etc.</li>
  </ul>
  
  <p>I think I am not very far...
  <a href="https://regex101.com/r/gM1uW3/1" rel="nofollow noreferrer">https://regex101.com/r/gM1uW3/1</a></p>