def METHOD_NAME(preprocessed_beams):
    postprocessed_beams = []
    for beam in preprocessed_beams:
        postprocessed_beam = re.sub(POSTPROCESSING_REGEXP, "", beam).strip()
        if len(postprocessed_beam):
            postprocessed_beams.append(postprocessed_beam)
    return postprocessed_beams