I don't know exactly what you are trying to find in the string. But this
should match the contents of the first table row.
<cfset x = REFind('<td valign=top class="leftColumn">[^<]*</td>', HTML)>
or if you just want the contents of everything between that cell.
#ReReplace(HTML, '<td valign=top class="leftColumn">([^<]*)</td>', \1)#
However we really need to know what you want from the string.
Mark Johnson
-----------------------
Senior Cold Fusion Developer
Cardinal Communications
-----Original Message-----
From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 7:29 PM
To: CF-Talk
Subject: regular expression help
What am I doing wrong here? What is the regular expression that will extract
a match?
====STRING=========
<cfset HTML = '<td valign=top class="leftColumn">
Merge onto N LAKE SHORE DR</td> <td><img
src="http://mqgraphics.mapquest.com/gif/blank_1x1.gif" height="1" width="1"
alt="" border="0"></td>
<td valign=top class="leftColumn">
2.4 miles
<div class="introType">
(3.9 km)
</div></td>'>
====REGULAR EXPRESSION=========
<cfset x =
REFind('<td valign=top class="leftColumn">[[:Alnum:space:]]+</td>', HTML)>
<cfoutput>#x#</cfoutput>
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.