title: jQuery find and replace with arrays
body: <p>I need to search an input's value for all street abbreviations and replace with appropriate suffix. This is what I have so far:</p>
  
  <pre><code>jQuery('#colCenterAddress').val(function(i,val) {
      var f = ['Rd','St','Ave'];
      var r = ['Road','Street','Avenue'];
      return val.replace(f,r);
  });
  </code></pre>
  
  <p>Thoughts?</p>