Re: reg expression help..

2006-04-27 Thread Rob Wilkerson
The problem, at least in this case is the "-" in "Part-Time". It's a non-word character. This works: %20Java%20(\w+-?\w+)*%20Developer%20 It will allow for 0 or 1 dash in the optional text. It will also allow for text or no text. On 4/27/06, Brian McGarvie <[EMAIL PROTECTED]> wrote: > Hey, th

Re: reg expression help..

2006-04-27 Thread Brian McGarvie
Hey, thanks Rob, tried that and it didn't seem to work. Regarding the 'part-time' of that code. I would like the center element [\w+]* to allow for word(s) and for it to be optional as well ( ie no words ). I thought the code for a listing of multiple characters WAS in fact '\w+' ? ~~~

Re: reg expression help..

2006-04-27 Thread Rob Wilkerson
Hey Brian - You have a couple of...not necessarily errors, but constructs that I would consider unexpected. For example, "[\w+]*" when I think you mean "\w+". In a character class, "\w+" means, literally, a "w" character or a "+" character. Try this: %20java%20\w+%20developer%20 If you're all

reg expression help..

2006-04-27 Thread Brian McGarvie
Hi there... trying to match the following... Where you see 'Part-Time' I want to be optional any text. %20Java%20Part-Time%20Developer%20 with the following code... [%20]*java%20[\w+]*%20developer[%20]* <-- does not work %20java%20part-time%20developer%20 <-- works

RE: Reg Expression Help

2005-03-17 Thread Brook Davies
t;-Original Message----- >From: Brook Davies [mailto:[EMAIL PROTECTED] >Sent: 17 March 2005 22:08 >To: CF-Talk >Subject: Reg Expression Help > > >Okay, Regex is not my strong suite and this one has been eluding me all >morning. I'm trying to replace any occurrences of &quo

RE: Reg Expression Help

2005-03-17 Thread Brook Davies
t;'\1=\2'", > "ALL")# > > >Ade > >-Original Message----- >From: Brook Davies [mailto:[EMAIL PROTECTED] >Sent: 17 March 2005 22:08 >To: CF-Talk >Subject: Reg Expression Help > > >Okay, Regex is not my strong suite and this one has been

RE: Reg Expression Help

2005-03-17 Thread Adrian Lynch
How's aboot #tempString# #REReplace(tempString, "'(.*)?==(.*)?'", "'\1=\2'", "ALL")# Ade -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED] Sent: 17 March 2005 22:08 To: CF-Talk Subject: Reg Expres

Reg Expression Help

2005-03-17 Thread Brook Davies
Okay, Regex is not my strong suite and this one has been eluding me all morning. I'm trying to replace any occurrences of "==" inside a string enclosed with single quotes. So my test string is: And I want to replace the "==" at the end of this string inside the single quotes with "=" but I do

Re: reg expression help

2003-09-04 Thread info
: CF-Talk <[EMAIL PROTECTED]> Sent: Sep 04, 2003 12:55 PM Subject: Re: reg expression help >folks, > >If I wanted to find the value of the "template" attribute in a >tag ... how would I do it using Regex? > >-Mark > > > > ~~~

RE: reg expression help

2003-09-04 Thread Ben Doom
template = rereplace(include_call, ".*.*", "\1") -- Ben Doom Programmer & General Lackey Moonbow Software, Inc : -Original Message- : From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED] : Sent: Thursday, September 04, 2003 1:55 PM : To: CF-Talk : Subj

reg expression help

2003-09-04 Thread Mark A. Kruger - CFG
folks, If I wanted to find the value of the "template" attribute in a tag ... how would I do it using Regex? -Mark ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.

Re: reg expression help please?

2001-08-28 Thread Jochem van Dieten
Rick Lamb wrote: > Hoping someone with regular expression knowledge could help me. I need to > take a string and eliminate everything but numbers, "-" negative signs and > "." decimal points. Basically just leaving pos and neg decimal numbers > filtering out anything else. Anyone willing to help?

reg expression help please?

2001-08-27 Thread Rick Lamb
Hoping someone with regular expression knowledge could help me. I need to take a string and eliminate everything but numbers, "-" negative signs and "." decimal points. Basically just leaving pos and neg decimal numbers filtering out anything else. Anyone willing to help? Thanks, Rick