I don't know offhand where in the CF docs you'd find information on the
regular expressions themselves, but there are tons out there for Perlish
REs, which are very, very similar to the REs in CF.
I know there are several tutorials floating around, and there are
several good books on the subject. If you just want to ask a whole
bunch of questions and learn about them that way, the CF-Regex list
(also hosted by the fine people at House of Fusion) is a great resource.
If it seems quiet, it's because it's mostly subscribed to by experts,
who don't tend to ask too many questions. :-) However, they do tend to
answer a lot of them.
Anyway, if you want more information on where to learn more about regex,
just ask and I'd be happy to dump tons of info on you. :-)
--Ben Doom
Jamie Jackson wrote:
> I've seen this notation popping up recently:
>
> \w
> \d
>
> I see the following in the documentation
> (http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/functions-pt269.htm#1111522),
> but where are the rest of them?
>
> New in ColdFusion MX: this function supports the following special
> codes in a substring, to control case conversion:
> \u - uppercase the next character
> \l - lowercase the next character
> \U - uppercase until \E
> \L - lowercase until \E
> \E - end \U or \L
>
> Thanks,
> Jamie
>
> On Thu, 5 Feb 2004 15:16:56 -0500, in cf-talk you wrote:
>
> >Use the following regular _expression_:
> >\w{3}\d{7}
> >
> >--- Ben
> >
> >
> >-----Original Message-----
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, February 05, 2004 3:08 PM
> >To: CF-Talk
> >Subject: Serial Number
> >
> >
> >How would I check to see if the first three digits of a number are
> >alpha-numeric and the last 7 are numbers?
> >
> >Thanks!
> > _____
> >
> >
> >
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

