Do you really need a regex just to replace one string with another? How about myString.replace("foo", "bar")? From: Anthony Ettinger apwebdesign at yahoo.com 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20051018/88f4cdee/attachment.htm>