Bulk Regex Update/Removal

In v5 of pihole, what is the preferred way to bulk update (or delete) regex? In v4, you download into regex.list and updateGravity would read it in. Looking at the /etc/pihole/gravity.sh script for v5, the logic skips reading regex.list (and black/whitelist files) IF gravity.db file already exists.

You can add multiple regex at once. Select the lot that you want to add, copy to your clipboard, then paste that into the "Regular Expression" window and select either "Add to Blacklist" or "Add to Whitelist"

In this example, I am adding 15 regex copied from a text file:

This selection is copied to the clipboard, and pasted into Pi-hole:

To delete regex, the easiest way is from the Web GUI - click the trashcan icon next to the entry you want to delete. Repeat as necessary until you are done.

For bulk removal from the command line, you will need to use SQL commands.

https://docs.pi-hole.net/database/gravity/example/