I need to find ip addresses where :
The ip address is need to be:
10.100.0.* or 10.100.*.1 and if this statement is true than i need to run something.
my try:
probably it doesn't work for me.if ([:len [/ip address find where address=10.100.0.* disabled=no]]>0
or
[:len [/ip address find where address=10.100.*.1 disabled=no]]>0) do={};
So i tried with regex but i don't know how to use it...
but unfortunately that's give me back 0 too so idk what can i do.if ([:len [/ip address find where address=10.100.0."^[0-9]{1,3}" disabled=no]]>0
or
[:len [/ip address find where address=10.100.*.1 disabled=no]]>0) do={};
So give me a helping hand please :)