Test pattern + flags quickly and preview replacement output.