Re: re.findall help

2015-02-04 Thread Jugurtha Hadjar
On 02/04/2015 03:52 AM, w3t...@gmail.com wrote: I am trying to extract the following from a data stream using find all what would be the best way to capture the ip address only from the following text " ip=192.168.1.36 port=4992 " I also want to make sure the program can handle the ip that is as

Re: re.findall help

2015-02-03 Thread Cameron Simpson
On 03Feb2015 18:52, w3t...@gmail.com wrote: I am trying to extract the following from a data stream using find all what would be the best way to capture the ip address only from the following text " ip=192.168.1.36 port=4992 " I also want to make sure the program can handle the ip that is as h

re.findall help

2015-02-03 Thread w3tmb1
I am trying to extract the following from a data stream using find all what would be the best way to capture the ip address only from the following text " ip=192.168.1.36 port=4992 " I also want to make sure the program can handle the ip that is as high as 255.255.255.255 Thanks for any help y