URL/Query Regex Builder
JR Oaks has put together a Google sheet where you can add a bunch of URLs and pick the domain and it will give you a functional Regex (in some cases you could optimize it further if you know your way around regex) that you can copy-paste into Google Analytics or Search Console.
There is a similar one from Sam Underwood over here
File Type: