$ips = @('IP_10.57.50.91',
'10.57.50.73',
'10.58.4.37 IP',
'ip 10.63.1.22',
'BELPRLIXH300',
'ip 10.63'
)
$regex = [regex] "(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
$regex.Matches($ips) | %{ $_.value }