I need to run a regex, simply replacing foo with bar in $string... any help? Anthony Ettinger ph: (408) 656-2473 web: http://www.apwebdesign.com