Strip a leading executive-brief prefix from text for the given language. When lang is omitted or has no dictionary entry, returns the text unchanged. The EN prefix list lives in title.ts and is applied separately; this function complements (does not replace) the EN-only strip in ./title.ts.
Pure function โ no side effects, no allocations beyond the regex.
Strip a leading executive-brief prefix from
textfor the given language. Whenlangis omitted or has no dictionary entry, returns the text unchanged. The EN prefix list lives intitle.tsand is applied separately; this function complements (does not replace) the EN-only strip in ./title.ts.Pure function โ no side effects, no allocations beyond the regex.