Re: Regular Expression To Pull Values From A Commented Area

2008-01-23 Thread Sonny Savage
Here's one approach: http://siriusinnovations.com Description: This is the description Version: 2.0 Author: Philip Hayes Author URL: http://siriusinnovations.com ---> "> #trim(reReplace(commentLine, regexCommentFields, "\1"))##trim

Re: Regular Expression To Pull Values From A Commented Area

2008-01-23 Thread Philip Hayes
That's pretty cool. i have never seen that tag before. I'll try it. Thanks On Jan 23, 2008, at 11:58 AM, Claude Schneegans wrote: >> Is there anybody out there who can help me do this? Sure, there is CF_REextract. It will return all your fields in a list or a query, and even read the file fo

RE: Regular Expression To Pull Values From A Commented Area

2008-01-23 Thread Bobby Hartsfield
Although it will still work exactly the same, it actually finds everything between the first instance of I used html comments for testing and forgot to change the --> to ---> ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~~~

RE: Regular Expression To Pull Values From A Commented Area

2008-01-23 Thread Bobby Hartsfield
Assuming there is just one comment block, cffile read the file and try this on it... trim(rereplace(rereplace(theFileContent, "(.*?.*)", "\2", "all"), "(.*?):(.*?)#chr(13)#", "\1", "all")) It will find and use only the first CF comment block that it finds... meaning everything in the file starti

Re: Regular Expression To Pull Values From A Commented Area

2008-01-23 Thread Claude Schneegans
>>Is there anybody out there who can help me do this? Sure, there is CF_REextract. It will return all your fields in a list or a query, and even read the file for you. See: http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm ~