Discussions

Ask a Question
Back to all

Allow the creation of custom rules using regular expressions.

I would like the option to enter a regular expression as a custom role to enhance blocking. The _ operator is not enough for me.

For example, a simple regular expression could be used to block Google with more than two o's.
/go{3,}gle.._$/.


There are many more possibilities, such as blocking domains that could be generated by a Domain generation algorithm

/^[bcdfghjklmnpqrstvwxyz]{4,}.com$/.

Or block domains that look like a file extension: (virus.exe.com)

/(^|.)(zip|exe|scr|apk|bin|dat|pdf|doc|docx)./


I have many more ideas, but it would be great to have this support here, too.