> [0-9]{6,6}-[0-9]{3,3}-[0-9]{4,4}-[0-9]{3,3}-[0-9]{1,1}

If you're using CFMX, you can simplify that a bit:

\d{6}-\d{3}-\d{4}-\d{3}-\d{1}

(note: CFMX brings in the \d... even in CF5 there's no need for the {x,x}
if x is the same number in each case).

I only mention this cos I reckon it's always good to keep regexes as simple
as possible as they're a bit frighty for some people.

-- 

Adam

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to