Well, you've got some characters other than :Alnum: and :space:.  You've got
:punct: in there also.

-----Original Message-----
From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 1: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">
      &nbsp;2.4  miles
      <div class="introType">
      &nbsp;(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.

Reply via email to