Re: Quick Regular Expression Question.

2004-06-23 Thread Marlon Moyer
Here's a real handy site that I use http://www.regexlib.com Even has an online regex tester. Marlon On Wed, 23 Jun 2004 11:32:48 -0400, Che Vilnonis <[EMAIL PROTECTED]> wrote: > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Quick Regular Expression Question.

2004-06-23 Thread Ben Doom
Currently, you have: ^[[:digit:]]{5}(( |-)?[[:digit:]]{4})?$ ( |-) represents a space or hypen.  If you just want a hypen, you don't need the parens, space, or pipe. ( |-)? means that the space or hypen is optional. So, if you want to force a hypen for 9-digit zipcodes, you would want ^[[:digit

RE: Quick Regular Expression Question.

2004-06-23 Thread Che Vilnonis
that seems to work. thank you Jerry.   -Original Message-   From: Jerry Johnson [mailto:[EMAIL PROTECTED]   Sent: Wednesday, June 23, 2004 11:27 AM   To: CF-Talk   Subject: Re: Quick Regular _expression_ Question.    #FORM.BillZip#)>   Lets see if I can break this down, and maybe the answ

RE: Quick Regular Expression Question.

2004-06-23 Thread Pascal Peters
^\d{5}(-\d{4})?$ Your original one allowed a space too . If you want that it is ^\d{5}([- ]\d{4})?$ If you are not on cfmx, replace \d by [0-9] > -Original Message- > From: Che Vilnonis [mailto:[EMAIL PROTECTED] > Sent: woensdag 23 juni 2004 17:17 > To: CF-Talk > Subject: Quick Regular

Re: Quick Regular Expression Question.

2004-06-23 Thread Jerry Johnson
Lets see if I can break this down, and maybe the answer will fall out the other side. string containing only: 5 digits and 0 or 1 sets of ((0 or 1 dash or space) and four digits) So, if you got rid of the 0 or 1 dash or space, and made it a manditory space in the second optional set, you should

Quick Regular Expression Question.

2004-06-23 Thread Che Vilnonis
Hello all. I use the following to regular _expression_ to validate zipcodes. When a customer inputs a 9 digit zip code WITHOUT the hyphen, no error is set. (i.e. 902101444) How would I modify this to incorporate a mandatory hyphen when a 9 digit zip code is inputed and still work for all ot

quick regular expression question

2002-02-20 Thread Mark W. Breneman
I seem to be having a problem with this regular expression. Can anyone tell me why? It must be something simple. [[:space:]a-z0-9A-Z[:punct:][:space:]]+ All I am trying to do is select everything between some pesky div tags. Thanks

RE: another quick regular expression question

2002-02-01 Thread Pascal Peters
ary/Regular-Expressions.cfm) Hope that helps -Oorspronkelijk bericht- Van: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Verzonden: vr 1-2-2002 17:57 Aan: CF-Talk CC: Onderwerp: RE: another quick regular expression question P

RE: another quick regular expression question

2002-02-01 Thread Kola Oyedeji
er ekeda ltd http://www.ekeda.co.uk (+44)020-8429-7300 > -Original Message- > From: Pascal Peters [mailto:[EMAIL PROTECTED]] > Sent: 01 February 2002 16:39 > To: CF-Talk > Subject: RE: another quick regular expression question > > > This is incorrect. the regexp

RE: another quick regular expression question

2002-02-01 Thread Pascal Peters
uctor LR Technologies, Belgium Tel +32 2 639 68 70 Fax +32 2 639 68 99 Email [EMAIL PROTECTED] Web www.lrt.be -Original Message- From: Steve Oliver [mailto:[EMAIL PROTECTED]] Sent: vrijdag 1 februari 2002 17:17 To: CF-Talk Subject: RE: another quick regular expression question I

RE: another quick regular expression question

2002-02-01 Thread Kola Oyedeji
002 16:17 > To: CF-Talk > Subject: RE: another quick regular expression question > > > I don't think it works that way with spaces. > > If I have the string "hello world" > > And do a regexp for > > [ ]*he[ ]*llo[ ]*wor[ ]*ld[ ]* > > I don't

RE: another quick regular expression question

2002-02-01 Thread Matthew R. Small
Hi List, I've had a few requests off-list for the code on how I print out pages through Word. I'll go ahead and post it for everyone's benefit. Please feel free to write me on or off list if you have any problems. To start, you need to have Word installed on your CF server for thi

RE: another quick regular expression question

2002-02-01 Thread Steve Oliver
atnet solutions, inc. http://www.atnetsolutions.com -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 10:53 AM To: CF-Talk Subject: RE: another quick regular expression question Steve I thought * matched 0 or more occurences? than

RE: another quick regular expression question

2002-02-01 Thread Kola Oyedeji
y 2002 15:34 > To: CF-Talk > Subject: RE: another quick regular expression question > > > Yeah, you were searching for spaces with that. If you have a [ ] > followed by a * then it's searching for one or more spaces. > > < title > untitled

RE: another quick regular expression question

2002-02-01 Thread Steve Oliver
tnetsolutions.com -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 5:39 AM To: CF-Talk Subject: RE: another quick regular expression question Thanks for the replies havent tested them out yet but will they work if the title tag actualy has spaces inside

RE: another quick regular expression question

2002-02-01 Thread Kola Oyedeji
Original Message- > From: Steve Oliver [mailto:[EMAIL PROTECTED]] > Sent: 01 February 2002 01:11 > To: CF-Talk > Subject: RE: another quick regular expression question > > > Brent, Try this :) > > > > (.*?)","\1")> > > #t

RE: another quick regular expression question

2002-01-31 Thread Steve Oliver
ther quick regular expression question Hi Steve, Won't the .* pick up the part? -Brent > -Original Message- > From: Steve Oliver [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 4:31 PM > To: CF-Talk > Subject: RE: another quick regular expression q

RE: another quick regular expression question

2002-01-31 Thread Steve Oliver
02 8:09 PM To: CF-Talk Subject: RE: another quick regular expression question Hi Steve, Won't the .* pick up the part? -Brent > -Original Message- > From: Steve Oliver [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 4:31 PM > To: CF-Talk > Subj

RE: another quick regular expression question

2002-01-31 Thread Brent Goldman
Hi Steve, Won't the .* pick up the part? -Brent > -Original Message- > From: Steve Oliver [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 4:31 PM > To: CF-Talk > Subject: RE: another quick regular expression question > > > An easier way to do

RE: another quick regular expression question

2002-01-31 Thread Brent Goldman
> -Original Message- > From: Steve Oliver [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 4:31 PM > To: CF-Talk > Subject: RE: another quick regular expression question > > > An easier way to do that would be something like > > "(.*?)&qu

RE: another quick regular expression question

2002-01-31 Thread Steve Oliver
PROTECTED]] Sent: Thursday, January 31, 2002 7:28 PM To: CF-Talk Subject: RE: another quick regular expression question Hi, Use this regex: Don't forget the NoCase, or else it won't match asdf -Brent > -Original Message- > From: Kola Oyedeji [mailto:[EMAIL PR

RE: another quick regular expression question

2002-01-31 Thread Brent Goldman
Hi, Use this regex: Don't forget the NoCase, or else it won't match asdf -Brent > -Original Message- > From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 4:15 PM > To: CF-Talk > Subject: another quick regular expression questio

another quick regular expression question

2002-01-31 Thread Kola Oyedeji
Hi Can anyone explain why this regex does not match every title?(i'm using it in cfstuido on a directory of html and cfml files) <[ ]*title[ ]*>[ ]*[[:alpha:]]*[[:punct:]]*[ ]* It will not match untitled for example what am I doing wrong? Thanks in advance Kola ___