Re: Extracting part of a string

2010-07-22 Thread Larry Lyons
So who died and made you list god? Last I checked Michael Dinowitz was the list owner. That said I've used Claude's CF_REextract for a couple of projects, and for what it does, it does it very well. Its also applicable to the question the original poster raised. Stop spamming every regex

RE: Extracting part of a string

2010-07-22 Thread Bobby Hartsfield
be cf-talk, it would be the ExpertSexChange.com .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Larry Lyons [mailto:larrycly...@gmail.com] Sent: Thursday, July 22, 2010 8:48 AM To: cf-talk Subject: Re: Extracting part of a string So who

Re: Extracting part of a string

2010-07-22 Thread Claude Schnéegans
CS is smart enough to write a regex for returning 123 from str123str in his sleep On the other hand, if you were so smart, you would have noticed that the tag does not write a regex, but returns all strings in between TWO regex directly in a querry or a list that can be found in a large

Re: Extracting part of a string

2010-07-22 Thread James Holmes
I propose an open source project to duplicate everything that CF_REextract does, so we can spam an equivalent free solution in every regex question on the list. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 22 July 2010 21:36, wrote:  CS is smart enough to write a

Re: Extracting part of a string

2010-07-22 Thread Michael Grant
+1 On Thu, Jul 22, 2010 at 11:35 AM, James Holmes james.hol...@gmail.comwrote: I propose an open source project to duplicate everything that CF_REextract does, so we can spam an equivalent free solution in every regex question on the list. -- WSS4CF - WS-Security framework for CF

RE: Extracting part of a string

2010-07-22 Thread Bobby Hartsfield
Can it be named CF_FreeExtract? .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Thursday, July 22, 2010 11:46 AM To: cf-talk Subject: Re: Extracting part of a string +1 On Thu, Jul 22

RE: Extracting part of a string

2010-07-22 Thread Jacob
Same here.. I have bought it a while back.. worth the $15 as I completely suck with regex. -Original Message- From: Tony Weeg [mailto:tonyw...@gmail.com] Sent: Wednesday, July 21, 2010 5:12 PM To: cf-talk Subject: Re: Extracting part of a string +420 Sent from my iPhone... Don't

Re: Extracting part of a string

2010-07-22 Thread James Holmes
Love it. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 23 July 2010 00:02, Bobby Hartsfield bo...@acoderslife.com wrote: Can it be named CF_FreeExtract? ~| Order the Adobe Coldfusion Anthology

RE: Extracting part of a string

2010-07-21 Thread Bobby Hartsfield
: Tuesday, July 20, 2010 10:45 AM To: cf-talk Subject: Re: Extracting part of a string What I need is simple Try a simple solution : CF_REextract : http://www.cftagstore.com/tags/cfreextract.cfm ~| Order the Adobe Coldfusion

Re: Extracting part of a string

2010-07-21 Thread Claude Schnéegans
This crap how you call it, is nevetheless the seventh most sold CF tag at tagstore, with hundreds of satisfied buyers, and many positive comments. Many developers are not as good with regex as you are, this is for sure. If you don't need the tag, you're free not buying it, but please stop

RE: Extracting part of a string

2010-07-21 Thread Bobby Hartsfield
: Extracting part of a string This crap how you call it, is nevetheless the seventh most sold CF tag at tagstore, with hundreds of satisfied buyers, and many positive comments. Many developers are not as good with regex as you are, this is for sure. If you don't need the tag, you're free not buying

Re: Extracting part of a string

2010-07-21 Thread Tony Weeg
+420 Sent from my iPhone... Don't hate. On Jul 21, 2010, at 6:39 PM, Claude Schnéegansschneeg...@internetique.com wrote: This crap how you call it, is nevetheless the seventh most sold CF tag at tagstore, with hundreds of satisfied buyers, and many positive comments. Many developers

Re: Extracting part of a string

2010-07-21 Thread Claude Schnéegans
http://acoderslife.com I may spam every regex question as you claim, but I don't advertise my site in EVERY message like you. ~| Order the Adobe Coldfusion Anthology now!

RE: Extracting part of a string

2010-07-21 Thread Bobby Hartsfield
You clicked my link? That'll be $15 please. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Sent: Wednesday, July 21, 2010 9:08 PM To: cf-talk Subject: Re: Extracting part of a string http://acoderslife.com I may spam every regex

Re: Extracting part of a string

2010-07-20 Thread Shannon Rhodes
Does this help? http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61637 ~| Order the Adobe Coldfusion Anthology now!

Re: Extracting part of a string

2010-07-20 Thread Claude Schnéegans
What I need is simple Try a simple solution : CF_REextract : http://www.cftagstore.com/tags/cfreextract.cfm ~| Order the Adobe Coldfusion Anthology now!

RE: Extracting part of a string

2010-07-20 Thread Andy Matthews
Assuming there's nothing more to your search, then this regex would do you fine: \[y\](.+)\[/y\] -Original Message- From: Rick Sanders [mailto:c...@webenergy.ca] Sent: Tuesday, July 20, 2010 9:23 AM To: cf-talk Subject: Extracting part of a string Hey All, What I need is simple,

RE: Extracting part of a string

2010-07-20 Thread Rick Sanders
Thank you Andy, this was most helpful! -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Tuesday, July 20, 2010 11:49 AM To: cf-talk Subject: RE: Extracting part of a string Assuming there's nothing more to your search, then this regex would do you fine

Re: Extracting part of a string (part 2)

2010-07-20 Thread Charlie Griefer
For that specific string, \$(\S+) seems to work. The \S is any character that is not a whitespace character, so it'd work for $400.01 as well. \$(\w+) should also return the same result. On Tue, Jul 20, 2010 at 8:24 AM, Che Vilnonis ch...@asitv.com wrote: I also have a regex I can't seem to

RE: Extracting part of a string (part 2)

2010-07-20 Thread Che Vilnonis
Thanks Charlie. I found that (\$\d+(\.\d+)?) works as well. The RegExr site was very helpful. http://www.gskinner.com/RegExr/ -Original Message- For that specific string, \$(\S+) seems to work. The \S is any character that is not a whitespace character, so it'd work for $400.01 as

RE: Extracting part of a string

2010-07-20 Thread Andy Matthews
Glad to help. -Original Message- From: Rick Sanders [mailto:c...@webenergy.ca] Sent: Tuesday, July 20, 2010 11:40 AM To: cf-talk Subject: RE: Extracting part of a string Thank you Andy, this was most helpful! -Original Message- From: Andy Matthews [mailto:li

RE: Extracting part of a string (part 2)

2010-07-20 Thread Andy Matthews
+1 for the RegExr site. Skinner is awesome. -Original Message- From: Che Vilnonis [mailto:ch...@asitv.com] Sent: Tuesday, July 20, 2010 12:12 PM To: cf-talk Subject: RE: Extracting part of a string (part 2) Thanks Charlie. I found that (\$\d+(\.\d+)?) works as well. The RegExr site