Thank you for the help, explanation and link. I will check that out for sure.
Mike ----- Original Message ----- From: "Marlon Moyer" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 1:55 PM Subject: RE: regex help > Michael, > > I also use this program to help test regex's. It's quicker than using cf > most of the time. > > http://laurent.riesterer.free.fr/regexp/ > > Marlon > > -----Original Message----- > From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] > Sent: Monday, June 16, 2003 12:47 PM > To: CF-Talk > Subject: Re: regex help > > > in1 should be testNum, I typed it in wrong... > > > ----- Original Message ----- > From: "Michael T. Tangorre" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Monday, June 16, 2003 1:44 PM > Subject: regex help > > > > I am trying to determine if an integer begins with 332. > > > > The number varies in length from 4 to 9 digits in length. If 332 begins > the number I would like to return the number minus the 332. > > > > I am still trying to learn regex so an explanation with any ideas would be > very helpful. Here is what I am starting with: > > > > <cfset testNum = 3325665 /> > > <cfset testNum = REreplace(in1,"^.(332).$","\1") /> > > > > Thanks, > > > > MT > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

