I’m trying to craft a query to populate a DAG with all IPs matching xxx.xxx.xxx.15 or 16, but cannot seem to get it right.
any tips or examples?
I’m trying to craft a query to populate a DAG with all IPs matching xxx.xxx.xxx.15 or 16, but cannot seem to get it right.
any tips or examples?
@ssmith1
try this
^\\d+\.\\d+\.\\d+\.1[56]\$
Tips:
^10.0.0.15\$
. hit search, see it work. Start simple and make small changes.\. for .
If not you will get weird results, the period will match a lot.\\d for \d
\$ for \$
I may have spent more hours on this when regex was first released in the filters like 5 years ago than I cared to admit to. After that, I have been able to make whatever crazy regex comes up.
Hope this saves you some time and gets the DAG logic you are looking for.
oh man, you are a life saver! I spent so many hours trying to detangle this - you are a gentlemen and a scholar. Thank you so very much!