How to create VB script Irregular expression syntax to check the VPparam (IP address validity)
When the last octatat of the IP address is a range between ip’s (x-y)
and between each IP we can put the “,” separator in order to add another IP
example of VBparam
VBparam=172.17.202.1-20
VBparam=172.17.202.1-10,192.9.200.1-100
VBparam=172.17.202.1-10,192.9.200.1-100,180.1.1.1-20
THX
yael
cscript test.vbs
Updated: to verify the range of the IP: 1-255
Updated: fixed matching end of line