Great,


But with my cfhttp.filecontent, it doesn't return anything.. do you thing I
would have to tranform the filecontent in an other variable or something
else cause I don't understand.. if I do it with your code it's okay but with
the chttp.filecontent, nothing.. If I take the source of the
cfhttp.filecontent (with explorer) and paste it in a variable then it
works...


Pat

  _____  

From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: June 15, 2004 22:44
To: CF-Talk
Subject: RE: find function

Here's some sample code with your message and my RE copied and pasted in the
appropriate place:

<cfoutput>
<cfsavecontent variable="test">
> I'm trying to find a string with <font color="red"> ?????
> </font> where i
> don't know what are the ???? in a cfhttp.filecontent variable.
</cfsavecontent>
#REFindNoCase("<font color=""red"">.*</font>", test)#
</cfoutput>

Works happily for me (returning 37), so double check your
cfhttp.filecontent.

Cheers,
barneyb

> -----Original Message-----
> From: CFDEV [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 7:34 PM
> To: CF-Talk
> Subject: RE: find function
>
> Thanks, but it always return 0 and I know that the _expression_
> is there.. is
> see it if i show the chttp.filecontent variable on screen...
>  
> Patrick
>
>   _____  
>
> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
> Sent: June 15, 2004 22:28
> To: CF-Talk
> Subject: RE: find function
>
>
> This'll do it:
>
> REFindNoCase("<font color=""red"">.*</font>", cfhttp.fileContent)
>
> Cheers,
> barneyb
>
> > -----Original Message-----
> > From: CFDEV [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, June 15, 2004 7:23 PM
> > To: CF-Talk
> > Subject: find function
> >
> > Hi all,
> >  
> > I'm trying to find a string with <font color="red"> ?????
> > </font> where i
> > don't know what are the ???? in a cfhttp.filecontent variable.
> >  
> > Any ideas?
> >  
> > Thanks
> >  
> > Pat
> >
> >
> >
>   _____  
>
>
>
>
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to