# Import Collections of Regex filters

**URL:** https://discourse.pi-hole.net/t/import-collections-of-regex-filters/50450
**Category:** Duplicate
**Tags:** whitelisting, blacklisting
**Created:** [October 18, 2021, 1:08pm UTC](https://discourse.pi-hole.net/t/import-collections-of-regex-filters/50450 "2021-10-18T13:08:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Redback](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/redback/32/31264_2.png) [@Redback](https://discourse.pi-hole.net/u/Redback)
#### Post date: [October 18, 2021, 1:08pm UTC](https://discourse.pi-hole.net/t/import-collections-of-regex-filters/50450/1 "2021-10-18T13:08:47Z")

</div>

How about a gui for importing a collection of regex filters created by the end user into pi hole, saves on manually adding each filter.

---

<div class="post-metadata">

### Author: ![Daxtorim](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/d/6de8d8/32.png) [@Daxtorim](https://discourse.pi-hole.net/u/Daxtorim)
#### Post date: [October 18, 2021, 2:10pm UTC](https://discourse.pi-hole.net/t/import-collections-of-regex-filters/50450/2 "2021-10-18T14:10:35Z")

</div>

You can already import several regex at once as a space separated list. Just paste the whole thing into the input box for the regex and it will add all of them at once.

If you provide an optional comment, every regex in the list will have that comment.

---

<div class="post-metadata">

### Author: ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)
#### Post date: [October 18, 2021, 2:16pm UTC](https://discourse.pi-hole.net/t/import-collections-of-regex-filters/50450/3 "2021-10-18T14:16:59Z")

</div>

Duplicate of

> [@Add feature to import publicly maintained regex lists](https://discourse.pi-hole.net/t/add-feature-to-import-publicly-maintained-regex-lists/27161):
>
> Background: [https://github.com/pi-hole/pi-hole/issues/3088](https://github.com/pi-hole/pi-hole/issues/3088) Are you talking about adding a pre-compiled list from an external source? Yes You can add individual regex/wildcard blacklist entries from the web UI, however... And that is a problem. I understand that its not supported for false-positive reasons. But adding every line by hand is a pain. And overwriting /etc/pihole/regex.list seems not a good idea. Suggestion 1 I dont see a format in the current lists. I did not check the…

Please vote over there.

---

<div class="post-metadata">

### Author: ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)
#### Post date: [October 18, 2021, 2:17pm UTC](https://discourse.pi-hole.net/t/import-collections-of-regex-filters/50450/4 "2021-10-18T14:17:13Z")

</div>


