---
title: Adding Devices with IP Regex
slug: singleconnect-reference-guide-3-2-0/adding-devices-with-ip-regex
description: Learn how to add IP Regex patterns to Device Groups with this comprehensive guide. Discover how this feature allows devices with matching IP addresses to be automatically included in a Device Group. Furthermore, explore how IP Regex patterns can be used i
docTags: 
createdAt: 2022-08-01T13:02:29.000Z
---

Instead of adding devices one by one, you can add IP Regex to Device Groups to assume every device with a matching IP address as the member of this Device Group. Similarly, some IP Regex Patterns can be added with the Deny rule, which makes the system deny all AAA requests coming from this IP.
To add an IP Regex Pattern to a Device Group:

1. Navigate to **Device Management&#x20;**> **Device Groups**.
2. Right-click on the desired device group, and select **Add/Edit IP Regex Pattern**.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/e-4LEJQrXel7ktD8FoGYN_image.png" size="70" width="689" height="236" caption="Add/Edit IP Regex Pattern Option" position="center" showCaption="true"}

- Set the allowed/denied IP regex.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/yUGQMvzkkOml2TATsxtBk_image.png" size="70" width="474" height="303" caption="IP Regex Patterns" position="center" showCaption="true"}

