Regular Expressions Reference

Provides regular expressions examples.

Leave Feedback
Regular Expressions
ScenarioExampleRegular Expression
Filter for range of IP addresses from 172.30.128.100 to 172.30.128.110
  • 172.30.128.100
  • 172.30.128.101
  • 172.30.128.102
  • 172.30.128.103
  • 172.30.128.104
  • 172.30.128.105
  • 172.30.128.106
  • 172.30.128.107
  • 172.30.128.108
  • 172.30.128.109
  • 172.30.128.110
^172.30.128.(1(0[0-9]|10))$
Filter for devices which contain Operating System as Windows or Ubuntu
  • Windows Server 2003
  • Windows 8
  • Ubuntu
  • Ubuntu 14.04.2 LTS
Windows|Ubuntu
Filter for devices with a name starting with Demo
  • Demo-lab1
  • Demo-lab2
  • Demo-lab3
^Demo
Filter for devices from Asia Pacific site and filter for inconsistency in naming convention
  • Asia-PAC
  • Asia-PAC
  • Asia-PAC
Asia?PAC
Filter for the devices with a name ending with SJ
  • Demo-Device SJ
  • Demo-Network SJ
  • Windows SJ
  • Linux SJ
$SJ
Filter for the devices with a name containing AWS and prefixed with any characters
  • Acme-Linux-AWS-Cache1
  • Acme-Linux-AWS-Cache2
  • Acme-Windows-AWS-Demo3
  • Acme-Windows-AWS-Demo4
.*AWS
Filter for the devices with name containing AWS-Cache and suffixed with any characters
  • Acme-Linux-AWS-Cache1
  • Acme-Linux-AWS-Cache2
AWS-Cache.*