So if I only need to check on one of the octets

$RegExPattern = "^\d{1,3}$"

The first two are supplied and the fourth is not needed in this case (it is a ping sweep W/nslookup)
_________________________
Today is the tomorrow you worried about yesterday.