Propose example regex-patters for std situations in allow- and block-lists

By Manuel on 22 April 2021
3
4 years agoreviewed0

It could be helpful to have some complex regex-patterns proposed when blocking and allowing URLs. Such patterns could cover frequent scenarios. E.g. I am using the following pattern to allow google search, but block its image and video search :
.*google(?!.*(tbm=isch|tbm=vid))
A non-programmer would have a hard time to repeat this exercise even for just a slightly different situation. There could be a long list of proposals for include- and exclude-patterns that can be searched within.