I want to search in a file and match numbers in format (?:[0-9]{1,3}\.){3}[0-9]{1,3} with some exceptions, which means <any string><followed by any characters except a '.' or '=' or '\' ><any number sequence> should consider as a match.
From following example, I want to export 10.10.10.11 & 172.23.12.12 (The strings and numbers may change)
ABC.”10.12.12.45”
CDE=”9.132.45.67”
AAA\9.3.244.0
XXX”10.10.10.11”
YYY ”172.23.12.12”
I want to exclude results starting with some string followed by a period (ABC.”10.12.12.45”) or followed by equal sign (CDE=”9.132.45.67”) or followed by backward slash (AAA\9.3.244.0).
Hope it’s clear..