Usually a : separate the IP address from the port, but if that is the format
you have, just use the List functions (specifying "." as the list
delimiter).

--- Ben


-----Original Message-----
From: James Birchler [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 17, 2001 10:38 PM
To: CF-Talk
Subject: Reg Expression Parsing help...


I have never used regular expressions, and I need help parsing text of the
following format:

10.10.10.30.5000

It's an IP address with a port number, and ideally what I need is the IP
assigned to a variable and the port number assigned to another variable.

Thanks VERY much for assistance.

James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to