title: Can preg_match be used as part of an already set variable?
body: <p>Hopefully I phrased that properly.</p>
  
  <p>If i have some variables called <code>$foo_bar</code> <code>$foo_barbar</code> <code>$foo_barbarbar</code></p>
  
  <p>Is there anyway of using preg_match like <code>/[A-Z]|[0-9]/i</code> to use to replace bar, barbar, barbarbar?</p>