Identifying an IP address

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Apr 5 11:52:35 EDT 2007


Bonjour,

Regex!
http://regexlib.com/default.aspx

Le 5 avr. 07 à 18:11, jbv a écrit :

> Hi list,
>
> does anyone have a function that checks a string
> and returns true if it contains an IP address ?
> In the data I'm working with, if a string contains
> an IP, the whole string is the IP (which means
> there isn't any extra junk). I guess this should make
> things easier...
>
> so far I'm running a test on strings that returns true
> if it contains only numbers and dots... but I wonder
> if that's enough...
>
> Thanks,
> JB

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
http://www.sosmartsoftware.com/
eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list