#!/bin/bash
echo "WORD1 %WORD2% WORD3" | sed 's/%[^%]*%//g'