FYI I figure it out....

was simple once you looked at the content. since it is all in commented tags

ReReplaceNoCase(str,"<!--(.*?)-->", "", "ALL");

Just incase anyone else has this issue.

> I am having an issue creating a regex to strip out the XML content 
> that Word 2007 is adding our HTML editor.
> we are using TINYMEC and when one of our client upgraded recently it 
> has created a large number of issues.
> 
> what we need to do is to pull out the flowing content.
> 
> it starts with
    
> <!--[if gte mso 9]><xml><br></b> <w:WordDocument><br></b>  
> 
> Ends with    
> <![endif]-->
> 
> there is about 1000 chars between the nodes and sometimes there are 
> muliple set of nodes with the same IF and endif
> 
> I was trying to create a regex to strip out this content - everything 
> from the begining to the end (I want NONE of it).
> 
> if anyone has any other suggestion we are all ears here.
> Thanks - I am just not great at this regex stuff and can not get the 
> correct statement.
> 
> Matt 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342207
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to