So currently I have this list in python :
list1= [ '\\[192.168.1.2] [Entered 123456] successful!' , '[192\\.168.1.1] [Entered 157] unwilling operator! ', '[192\\.168.1.3] [Entered 56] not successful' ]
I only need the list elements after the "\" but when I tried
for i in list1:
res = i.split("\\")[:2]
print(res)
The output only shows blank elements