[Javascript] regex

Peter Brunone peter at brunone.com
Tue Oct 18 11:22:47 CDT 2005


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>


More information about the Javascript mailing list