I recently started tinkering with pi-hole and i am really impressed by it’s functionality and so on but i am a real noob when it comes to linux in general(i do undestand what commands mean and so on,also documenting on how to fix errors) but i tried to understand the Regex functionality and also looked for the past few hours on the forum for information that might help me understand the commands better.
The problem is i couldn’t really understand how to mix the commands but you guys might help me with my ideea .It is a bit hard for me to translate that into logical/linux language
The following blocked address “r1---sn-c0q7lnsl.googlevideo.com” should contain the following variables
“r[1-20]—sn-[1|2|3|4|5|6|7|8].googlevideo.com”. The part where i added “[1|2|3|4|5|6|7|8]” each number is a space that has to have the ability to take any form(number,letter,or punctuation). if for example youtube throws at me r20—sn-“x13-2q0a”.googlevideo.com" the syntax will automatically detect it and block it.
What i noticed is that after “sn-” there are 8 characters that follow and those need to be allowed to take any form.
I hope i could translate my ideea properly.