in reply to Re: regex question
in thread regex question

I've tested both methods,and the regex one has some limitations, so I think the mechanise method looks more robust.
Using the mechanise method, how would you do the replacement using foo?