-4
I’m looking for a Regex to pick up only the right IP address. I’ve tried some things but I can’t find out, that was the regex that seemed to work out best /((?[0-9]{1,3}\.){3}[0-9]{1,3})\s/g
but she doesn’t take the IP’s that are in parentheses, I believe it is not the best way to assemble the expression. PS: I left in bold the values I want to take with regex.
Nmap scan report for whm.ixcsoft.com.br (45.174.128.220)
Host is up (0.047s Latency).
Nmap scan report for 231.128.174.45.ixcsoft.com.br (45.174.128.231)
Host is up (0.048s Latency).
Nmap scan report for 192.168.25.2
Host is up (0.048s Latency).
Nmap scan report for 192.168.25.3
Host is up (0.048s Latency).
Important you [Dit] your question and explain objectively and punctually the difficulty found, accompanied by a [mcve] of the problem and attempt to solve. To better enjoy the site, understand and avoid closures and negativities worth reading the Stack Overflow Survival Guide in English.
– Bacco