title: How to dynamically replace part of a class using jQuery?
body: <p>I have a dynamic class that starts with <code>z-</code>. How can I dynamically change <code>z-</code> into <code>fa-</code> onload?</p>
  
  <pre><code>From &lt;a href="#" class="z-dynamic"&gt;Link&lt;/a&gt;
  
  to &lt;a href="#" class="fa-dynamic"&gt;Link&lt;/a&gt;
  </code></pre>
  
  <p>I only want to replace a part of the class, not the whole class.</p>