A CF version wasn't specified, so I went with what I use.  

The problem with this particular RegEx is that the CF 5 Regular
Expression engine doesn't seem to support 'lazy' matching.


On Fri, 03 Dec 2004 12:09:44 -0500, Jerry Johnson
<[EMAIL PROTECTED]> wrote:
> This works well for CFMX, but not so much in CF5 and earlier.
> 
> Jerry
> 
> Jerry Johnson
> Web Developer
> Dolan Media Company
> 
> >>> [EMAIL PROTECTED] 12/03/04 12:11PM >>>
> Actually, this is something you can easily do with RegEx.
> 
> reReplaceNoCase(textString, "<span>(.*?)</span>", "\1","ALL")
> 
> Should remove all <span> and </span> tags where no attributes are set,
> but leave whatever is in between..
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186115
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