chomp some text off templates