in reply to Re: Replace part of a regex match
in thread Replace part of a regex match

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^3: Replace part of a regex match
by kyle (Abbot) on Dec 23, 2008 at 21:35 UTC

    I don't understand what you're looking for. I presented two solutions, and the first uses a regexp. It's based on the regexp in your OP (as best I could tell, since you didn't use <code> tags). It does the job in one line. Can you explain in more detail what problem you're trying to solve?

      I think your solution is fine. I have just hope that there will be a buildin feature that could do the job for me. But since I don't think thats the case, I will use your solution. And thanks a lot for the help.