I'm trying to utilize a regex for youtube ads to try and get rid of all the political ads, and according to POSIX PO pattern - Regex Tester/Debugger it should be working. here is the expression:
I believe your endeavor will be fruitless, as there is no reliable way to block YouTube ads with regex, and particularly to block a specific category of ads.
Your best approach for an ad-free YouTube experience is (1) subscribe to YouTube Premium (or whatever they call it now), or (2) watch YouTube on a browser running an adblocker such as uBlock Origin.
the question I have is specific to the regex.. it isn't even being evaluated against as far as I can tell with even DEBUG_REGEX set to true. I know youtube ads are fruitless, but as i'm on paternity leave I took on this challenge to keep my mind working