Regex
When configuring a cookie file, the Regex field is used to automatically block scripts (not managed by GTM) that are dynamically loaded (after the document is ready) and come from third parties by comparing the script's src.
Example :
In this example the Byscuit script will search using the regex /twitter.com/ for scripts containing this string, and will block the loading of cookies from this script.
One way to find the script using the cookie:
Note: right-click on a cookie "Show Request With This Cookie" or "Show requests with this cookie" to get information on the origin.