title: MySQL Regex Search and replace
body: <p>I would like to remove height property from all my images in my database. Their markup is as follows:</p>
  
  <pre><code>&lt;img src="path/img.jpg" width="x" height="y" /&gt;
  </code></pre>
  
  <p>I was going to do something like this:</p>
  
  <pre><code>UPDATE jos_content SET introtext = REPLACE(introtext, 'height=".*"', '');
  </code></pre>
  
  <p>But I don't know how to use regular expressions in MySQL query. I did find out they exist, I just don't se how I can use them in this context.</p>