That should work, thanks. --- Peter Brunone <peter at brunone.com> wrote: > 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 > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > Anthony Ettinger ph: (408) 656-2473 web: http://www.apwebdesign.com