EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...
    • Strip the trailing parenthesised metadata that briefs append to every priority-finding name — procedure codes, dates, committee tags. The regex is intentionally non-greedy so it removes only the LAST parenthesised group on the line.

      Parameters

      • text: string

        Headline or paragraph text

      Returns string

      Text with the trailing (…) stripped