Re: Regexp help in getting the IP address

Schamil Wackenhut <[email protected]> Fri, 06 Jun 2003 12:00:28 +0200
Newsgroups gmane.comp.jakarta.regexp.user
Message-ID <20030606100050.GA10352@fuckup>
* Sarika Inamdar meinte:

> Threshold123(10.77.11.92)2003-06-05T06:20:00.171Z
> ...
> <ipaddress>10.77.11.48</ipaddress>
> ...

Which of this both addresses do you need?

> But the issue is, the start of the string contains "threshold<digits>"

Followed by '('

> followed by<ipaddress> ?

Followed by ')'.

> How I differentiate between the ip address and the digits ?

What is the difference between the ip adress and digits?
(xxx.xxx.xxx.xxx)

> Any regexp which can achieve the same ?

you first.

ciao,
schamil
-- 
bash$ :(){ :|:&};: