Hello - i'm new to the forum. I am just learning
regular expressions and need some help!
i am using cffile to read a file and output a number to
another page using refindnocase to parse the data.
here's the data i want to parse:
<TR BGCOLOR="FFFFFF">
<TD rowspan=6 valign=top ALIGN ="LEFT" width='30%'>
<FONT SIZE=1 FACE="ms sans
serif,arial,helvetica,verdana,lucida,utopia"
COLOR="000000"><B>Visitor Sessions</B></FONT></TD>
<TD ALIGN ="LEFT" >
<FONT SIZE=1 FACE="ms sans
serif,arial,helvetica,verdana,lucida,utopia"
COLOR="000000">Visitor Sessions</FONT></TD>
<TD ALIGN ="RIGHT" >
<FONT SIZE=1 FACE="ms sans
serif,arial,helvetica,verdana,lucida,utopia"
COLOR="000000">176,308</FONT></TD>
</TR>
<TR BGCOLOR="FFFFFF">
<TD ALIGN ="LEFT" >
<FONT SIZE=1 FACE="ms sans
serif,arial,helvetica,verdana,lucida,utopia"
COLOR="000000">Average Per Day</FONT></TD>
<TD ALIGN ="RIGHT" >
<FONT SIZE=1 FACE="ms sans
serif,arial,helvetica,verdana,lucida,utopia"
COLOR="000000">5,687</FONT></TD>
</TR>
This code where the number is located is repeated for
each different subject. I need help to get the Visitor
Session number using a regular expression. And then get
the Average Session length (but i can do that by just
changing the code from Visitor session).
Probably need to start from the >visitor
Thanks!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.