<cfoutput>
<cfsavecontent variable="test">
<table class="app" id="highlightable"width="355" border="0" cellspacing="0"
cellpadding="3">
<tr>
<td colspan="5" valign="top"><strong>View Our Rates by
Phone Number</strong>
<strong><font color=red>:
0.054(US$/min)</font></strong>
</td>
</tr>
</cfsavecontent>
<cfset debut = #REFindNoCase("<font color=""red"">.*</font>", test)#>
#REFindNoCase("<font color=""red"">.*</font>", test)#<br>
#mid(test,evaluate(debut+18),150)#asd
</cfoutput>
It returns this :
0
app" id="highlightable"width="355" border="0" cellspacing="0"
cellpadding="3">
Patrick
_____
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]

