Txt = REReplaceNoCase(cfhttp.filecontent,'.*<td style="width:640px;"
valign="top" class="hafas">(.*)<td style="width:150px;" valign="top"
class="posInformationen">.*',"\1")

This should do it. Not tested. Watch out for wrap in email.

Pascal
> -----Original Message-----
> From: oscar dim [mailto:[EMAIL PROTECTED]
> Sent: 21 April 2005 11:00
> To: CF-Talk
> Subject: Extracting Data From a Webpage Using RegEx
> 
> Hello
> I do need to extract some data off of certain page. I do this with
CFHTTP.
> The variable returned as string object is:
> Page = CFHTTP.FileContent
> 
> As mentioned in another thread but unfortunatelly not very easy to get
> working for my specific needs I think I'll have to use a regular
> expression to extract the values that I am after, this is the part
that
> I'm not sure about at all.
> 
> All I have is the unique starting html tag '<td style="width:640px;"
> valign="top" class="hafas">' and ending html tag '<td
style="width:150px;"
> valign="top" class="posInformationen">', too. All text and html
between
> these two literals must be found, I need to
> extract ALL between these two tags...
> 
> I'm really not sure at all on how to get started on this, so any help
> would be appreciated.
> Regards. Oscar
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203793
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to