Need to pick IP address from this string
 `str1 = '<\11.1.1.1\testdata>'`

When the following option implemented
1. 
 `reg = re.compile("^.*\/+([\d\.]+)/\+.*$",re.I).search
 mth = reg(str2)
 mth.group(1)`

Got the error message 

```
Traceback (most recent call last):
  File "<pyshell#90>", line 1, in <module>
    mth.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

```

option 2. 

```
str1 = "<\11.1.1.1\cisco>"
str1.replace("\\","\\\\")
print str1

output - '<\t.1.1.1\\\\cisco>'

```

3. Tried making str1 as a raw string 

`str1 = r"<\11.1.1.1\cisco>"
str2 = str1.replace("\\","/");
print str2
output - '</11.1.1.1/cisco>'`

`reg = re.compile("^.*\/+([\d\.]+)/\+.*$",re.I).search
mth = reg(str2)
mth.group(1)`

'

```
error message - 
Traceback (most recent call last):
  File "<pyshell#90>", line 1, in <module>
    mth.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

```