thanks....

I actually read the cf dev manual and pieced it together in the end



Scott Thornton, Programmer
Application Development
Information Services and Telecommunications
Hunter-New England Area Health Service
Phone  RNH +61 2 49236066
Fax       +61 2 49236076

[EMAIL PROTECTED]

>>> [EMAIL PROTECTED] 08/31/05 3:41 pm >>>
> [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/


---
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