Re: Advanced Regexp Question

2012-01-07 Thread Andy Stevens
On 6 Jan 2012 21:12, wrote: > Say I have a string in a file like this: > >require(["a","foo/b","foo/c"], function(){...}) > > What I want to do is replace all the "foo" with "bar" so the final product > looks like this: > >require(["a","bar/b","bar/c"], function(){...}) > > With re

Re: Advanced Regexp Question

2012-01-07 Thread Scot P. Floess
Greg, I've been looking at this for about an hour or so... I'm stumped too ;) On Fri, 6 Jan 2012, greg.zol...@aviall.com wrote: Hello, I am able to do some very simple regexp replacement with the replaceregexp ant task but now need to do something a little more advanced. Say I have a strin