Using Regex to block "sex" and "porn" sites

Hi there,

I have searched the internet and the FAQ but I am still getting nowhere. Having two adolescent sons, I would like to block all URL containing "porn" or "sex". I figure it should be feasible to use regex, but this is getting me nowhere so far.

So, basically I need an expression like asterisks+porn+asterisks (can't enter the asterisks directly, the seem to make the enclosed term italic) which blockes these phrases regardless of where they are in the URL, just anywhere.

Does anybody have a proven solution?

Thanks,

Volker

That easy?

Thanks a million, that helped me a lot!

===== Public key - öffentlicher Schlüssel =====
Key ID: 0xDC1BD098
Keyserver: pgp.mit.edu

Here is the Pi-Hole regex documentation:

Ok, thank you, but I did read the dokumentation. However, it was so specific and written pretty detailed, maybe a little too complicated so I missed the easy solution.