Yeah,
Steve seems to be good at RegEx, Im there.
Regards
Dale Fraser
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Barry Beattie
Sent: Tuesday, 25 November 2008 5:38 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: RegEx Banging Head
Wow,
That one liner helped me a lot.
1. I didn't get that () are sets of back references
2. I didn't know you could replace with the back reference.
Im starting to get it, problem is unless you use it a lot, you forget it.
My simple use of those concepts leads me down a happy path
cfset
Can you compound back references
Ie if I find
divblah/div
And lets say div is ref1, blah is ref2 and /div is ref 3
Can you rereplace with something like /1xyz/2
Thus replacing blah with xyz?
Regards
Dale Fraser
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL
Ohh, it can nice.
Thanks Steve, your posts have been a great help
Regards
Dale Fraser
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Tuesday, 25 November 2008 5:57 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re:
On Nov 24, 11:58 pm, Steve Onnis [EMAIL PROTECTED] wrote:
REReplaceNoCase(string, a([^(href)]*) (href=)([^]*)()([^]*)/a,
\3, ALL);
Hi Steve.
I'm not sure this bit is right:
[^(href)]
That matches any single character that is not (, h, r, e, f
or ). square brackets mean match a single
I don’t understand this
cfsavecontent variable=html
name=12345 id=12345/axxx
bbba name=12345 id=12345/ayyy
ccca name=12345 id=12345/azzz
/cfsavecontent
cfoutput
#reReplace(html, 'a name=.* id=.*.*/a', '', 'all')#
/cfoutput
cfabort /
What I get is aaazzz
So
try #reReplace(html, '(a[^]*)(.?)(/a)', '\2', 'all')#
perhaps you want to remove title=foo etc as well?
Dale Fraser wrote:
I don’t understand this
cfsavecontent variable=html
name=12345 id=12345/axxx
bbba name=12345 id=12345/ayyy
ccca name=12345 id=12345/azzz
CF's regexes are greedy by default, so a * will match the longest
string possible. If you want it to match the smallest string
possible, you need to modify it with a ?.
It seems to me like you've perhaps not read the regex stuff in
livedocs? Or at least perhaps you could do with giving it a
things like . work as a char set, like [[:print:]] or [[:alpha:]] or
[a-zA-Z]
Im pretty sure they only work when used like [.]
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Tuesday, 25 November 2008 8:33 PM
To:
Hi,
some of my clients that use my cf site have their browser set so their
browsers check for new version of the page Automatically rather than every
time a page is visited. As the clients are set up in a corporate network
it's the policy of the corporate IT dep. to have all internet browser
append something to the url when the form submits like a uuid
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Claude Raiola
Sent: Wednesday, 26 November 2008 12:51 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] RE: No-Cache Pages
Hi,
let me guess, are they IE users? :)
you can add cache control headers via cfheader which can tell the
browser not to
cache pages
cfheader name=Expires value=#GetHttpTimeString(Now())#
cfheader name=pragma value=no-cache
cfheader name=cache-control value=no-cache, no-store, must-revalidate
Dont know if anyone can help but no harm in asking
I have a virtual machine wihich has an mssql2000 database on it. I recently
made a copy of it and took it into the datacenter and loaded onto one of my
servers. The VM runs fine but now i am trying to copy a database from my
local VM to the
How are you copying exactly?
Regards
Dale Fraser
http://learncf.com http://learncf.com/
http://flexcf.com http://flexcf.com/
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Wednesday, 26 November 2008 11:50 AM
To: cfaussie@googlegroups.com
Steve Onnis wrote:
i tried both a DTS transfer and tried to attach the db and both didnt
work. I am suprised the attach didnt work though.
If you had copied the db to the destination VM then I would have thought
an Attach should have worked.
Are your VMs identical? It could be that
identical
I copied it from my machine in my office onto a usb drive, took the usb
drive into the datacenter and copied it onto the new server. I did have to
activate the license again though and update the ip address config but thats
it.
I even tried deleting the database and creating a new
The Coldfusion Evangelism Kit been out for some time now and can be
gotten from:-
http://www.adobe.com/go/cfevangelismkit
courtesy of Kristen Scholfield
(http://www.webbschofield.com/index.cfm/2008/9/15/ColdFusion-Evangelism-Kit)
Interestingly, it includes a brief roadmap (page 5) with code
I have a job where i need to populate some pdfs with data which is fine, i
can do that by injecting some fields with the information but i need to
insert some graphs and this is where i am hitting a wall. In the past when
i have wanted to do this i would have an image and insert it like that but
Do the charts and content live on the same page.
I have used Crystal in the past it does a great job of high quality images,
cfdocument a poor job.
Regards
Dale Fraser
http://learncf.com http://learncf.com/
http://flexcf.com http://flexcf.com/
From: cfaussie@googlegroups.com
Crystal is a pain to use. Looking for something easy to set up and manage.
_
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Wednesday, 26 November 2008 2:55 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: PDF Generation
Do the charts
You didn't answer the first question about if the graphics are intermingled
in the content or separate pages.
If separate you could use the cfpdf tags to merge the relevant pages.
Regards
Dale Fraser
http://learncf.com/ http://learncf.com
http://flexcf.com/ http://flexcf.com
Correction... easy to use, a pain to set up...
Steve Onnis [EMAIL PROTECTED] 26/11/2008 3:01 pm
Crystal is a pain to use. Looking for something easy to set up and manage.
_
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Wednesday, 26
Yes they are. There are a number of graph on pages with content.
_
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Wednesday, 26 November 2008 3:08 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: PDF Generation
You didn't answer the
23 matches
Mail list logo