Scenario | Example | Regular Expression |
---|---|---|
Filter for range of IP addresses from 172.30.128.100 to 172.30.128.110 |
| ^172.30.128.(1(0[0-9]|10))$ |
Filter for devices which contain Operating System as Windows or Ubuntu |
| Windows|Ubuntu |
Filter for devices with a name starting with Demo |
| ^Demo |
Filter for devices from Asia Pacific site and filter for inconsistency in naming convention |
| Asia?PAC |
Filter for the devices with a name ending with SJ |
| $SJ |
Filter for the devices with a name containing AWS and prefixed with any characters |
| .*AWS |
Filter for the devices with name containing AWS-Cache and suffixed with any characters |
| AWS-Cache.* |
Regular Expressions Reference
Provides regular expressions examples.