In the CF studio docs, there is a good reference for the CF Regex engine
under 
Using Coldfusion Studio -> Testing and Maintaining Web Pages -> Using Find
and Replace.
For general regex stuff, which you seem to have a handle on, though, you
might look at O'Reilly's "Mastering Regular Expressions", ISBN 1565922573 if
I'm not mistaken

                Jason Powers
                Fig Leaf Software
                202-797-5440


-----Original Message-----
From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 10:32 AM
To: CF-Talk
Subject: RE: Validate against a mask


I also believe that I should use Regex, but I can't find any decent
reference for it for CF.  It seems to be quite different from Perl's regex.
Am I mistaken?

-----Original Message-----
From: Raymond B. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 10:38 PM
To: CF-Talk
Subject: RE: Validate against a mask


Not sure if you've ever used regexps, but that is what you want. Check out
reFind() and the other regexp functions.

http://www.allaire.com/cfdocs/CFML_Language_Reference/3_ColdFusion_Functions
/lr3_200.htm

-----Original Message-----
From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
Sent: January 17, 2001 17:20
To: CF-Talk
Subject: Validate against a mask


Is there a way to validate against a mask like lets say in MS Access.  Is
there a CF function that does this?

Something like

ConformsToMask("mm-dd-yyyy","01-17-2001")
or
ConformsToMask("###-###-####","111-111-1111")


Ruslan Sivak
Technologist
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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