RE: Regex help looking for a name in a string.

2007-04-27 Thread Bobby Hartsfield
Or a couple loops #artist#", "all") /> That did the trick for me. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, April 27, 2007 3:34 PM To: CF-Talk Subject: RE: Regex help looking for a name in a string.

RE: Regex help looking for a name in a string.

2007-04-27 Thread Will Swain
Good plan. I reckon that will work. Now to play with the regex... Cheers w -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: 27 April 2007 20:34 To: CF-Talk Subject: RE: Regex help looking for a name in a string. I don't know what I was thinking but that

RE: Regex help looking for a name in a string.

2007-04-27 Thread Will Swain
That's sweet Bobby - seems to work a treat. Thanks very much. Will -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: 27 April 2007 20:43 To: CF-Talk Subject: RE: Regex help looking for a name in a string. Or a couple loops #a

RE: Regex help looking for a name in a string.

2007-04-27 Thread Bobby Hartsfield
Sorry, Should have said that you DO still have to: order by length(artist) desc -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, April 27, 2007 3:43 PM To: CF-Talk Subject: RE: Regex help looking for a name in a string. Or a couple loops

RE: Regex help looking for a name in a string.

2007-04-27 Thread Will Swain
Thanks Bobby, I owe you a beer. And not just for this but for http://www.acoderslife.com/news/index.cfm?storyid=7 too!! Will -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: 27 April 2007 21:21 To: CF-Talk Subject: RE: Regex help looking for a name in a string

RE: Regex help looking for a name in a string.

2007-04-27 Thread Bobby Hartsfield
Haha! Beer may have played a part in that article... oh and I accept the beer. ;-) Cheers! -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Friday, April 27, 2007 5:01 PM To: CF-Talk Subject: RE: Regex help looking for a name in a string. Thanks Bobby, I owe you a

Re: regex help for grabbing values of html tag attributes

2005-03-22 Thread Ben Doom
What version of CF? --Ben Burns, John D wrote: > Does anyone have a regex already written (or would any of you regex > gurus like you put something up) that could take the source code of an > HTML file and grab the value of an attribute given the tag and the > attribute that would be grabbed. Fo

RE: regex help for grabbing values of html tag attributes

2005-03-22 Thread Burns, John D
ified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 4:14 PM To: CF-Talk Subject: Re: regex help for grabbing values of html tag attributes What version of CF? --Ben Bur

Re: regex help for grabbing values of html tag attributes

2005-03-22 Thread Ben Doom
Well, I see a couple of problems with what you're using. First, you've not got a closing " on the attribute. Second, you've wrapped a regex that contains a " in ""'s, which will error out if you don't escape the inner "'s. You can wrap it with single quotes to fix that. Also, the last * bog

RE: regex help for grabbing values of html tag attributes

2005-03-22 Thread Burns, John D
sing mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 4:54 PM To: CF-Talk Subject: Re: regex help for grabbing values of html tag attributes Well, I see a couple of problems with what you're using. First, you've not got a closing " on the attribute. Second, you've wrapped a r

Re: regex help for grabbing values of html tag attributes

2005-03-22 Thread Ben Doom
Try refindnocase('',cfhttp.fileContent,1,'true') I think the 0 and the non-quoted true are confusing it. Just a guess, though. Also, have you verified the contents of cfhttp.filecontent? --Ben Burns, John D wrote: > Ben, > > I can see what you've got (I think) and it makes sense, but for som

Re: regex help for grabbing values of html tag attributes

2005-03-22 Thread Claude Schneegans
What you're trying to do is far from being trivial, however, I'm pretty sure that CF_REextract should help you a lot. See the link below. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to

RE: regex help for grabbing values of html tag attributes

2005-03-23 Thread Pascal Peters
1]; } return aReturn; } http://www.google.com/"; throwonerror="yes"> #HTMLCodeFormat(cfhttp.filecontent)# Pascal > -Original Message- > From: Burns, John D [mailto:[EMAIL PROTECTED] > Sent: 22 March 2005 22:59 > To: CF-Talk > Subject: RE: reg

RE: regex help for grabbing values of html tag attributes

2005-03-23 Thread Pascal Peters
1]; } return aReturn; } http://www.google.com/"; throwonerror="yes"> #HTMLCodeFormat(cfhttp.filecontent)# Pascal > -Original Message- > From: Burns, John D [mailto:[EMAIL PROTECTED] > Sent: 22 March 2005 22:59 > To: CF-Talk > Subject: RE: reg

Need Regex help for finding and Hyperlinks words in String

2009-06-05 Thread Mike Francisco
Happy Friday everyone. I was hoping if anyone can help me with regex and a UDF. I have a string/paragraph which contains words beginning with a specific character. I'd like to find all those words and then assign a hyperlink URL to them. Example: If the string is: Lorem ipsum dolor sit ame

RE: Need Regex help for finding and Hyperlinks words in String

2009-06-05 Thread Andy Matthews
Mike... @\1', 'ALL')> Just curious...how far did you get in your own testing? andy -Original Message- From: Mike Francisco [mailto:cfmike...@gmail.com] Sent: Friday, June 05, 2009 1:46 PM To: cf-talk Subject: Need Regex help for finding and Hyperlinks words

RE: Need Regex help for finding and Hyperlinks words in String

2009-06-05 Thread Mike Francisco
To: cf-talk > Subject: RE: Need Regex help for finding and Hyperlinks words in String > > > Mike... > > > > '@([[:alnum:]]+)', '@\1', 'ALL')> > > > > Just curious...how far did you get in your own testing? > > > a

RE: Need Regex help for finding and Hyperlinks words in String

2009-06-05 Thread Andy Matthews
Great. Glad to help. I def recommend you learn at least the basics of Regex. It's helpful in a wide range of applications. andy -Original Message- From: Mike Francisco [mailto:cfmike...@gmail.com] Sent: Friday, June 05, 2009 2:53 PM To: cf-talk Subject: RE: Need Regex help for fi

<    2   3   4   5   6   7