in reply to How to substitute something from only between two specified charecters

but I couldn't get this to work either.

Show your code, and put both the sample data and the code inside code tags