title: How To Update SQL Table Record with Regex
body: <p>I have <code>User</code> table in my database with a column <code>AvatarUrl</code> with the following value: </p>
  
  <pre><code>https://www.gravatar.com/avatar/5811b64ffd2fa7116580dafa02d9bb7b?s=360&amp;d=identicon&amp;r;=PG
  </code></pre>
  
  <p>Now I want to update all <code>AvatarUrl</code> by changing <code>?s=xx</code> query string that it is avatar size. I do search for find regex, so I find it but I don't know that how can I do this in SQL.</p>
  
  <p>Query string regex: <code>([\?\&amp;])s=[^\&amp;]+[\&amp;]?</code></p>