import re


def remove_emissions_prefix(x, gas='XXX'):
    """Return x with emissions prefix removed, e.g.,
    Emissions|XXX|foo|bar -> foo|bar
    """
    return re.sub('^Emissions\|{}\|'.format(gas), '', x)