Hi.

gabriele renzi wrote:
>>>'<html>miao</html>'.gsub(/<#{tag}>.*?<\/#{tag}>/, '<'+tag2+'>foo</'+tag2+'>')

That's it. Thank you very much.

greetings
Dirk Einecke