1 2 3 4 5 6 7
## strIP = "1.1.1.1" ## Example 1 strIP = "255.101.1.0" ## Example 2 strOutput = strIP.replace(".", "[.]") print (strOutput)