View Single Post
 
Old 08-03-2019, 02:49 PM
bonzai217 bonzai217 is offline Mac OS X Office 2019
Novice
 
Join Date: Aug 2019
Posts: 2
bonzai217 is on a distinguished road
Question Create a macro or Find/Replace Code to delete tags

Hello and Help!
I am exporting an .xml file from Word Press to Word that brings tags along with it. They aren't really html tags they are event tags from my calendar plug-in. I can use Find/Replace but there are 26 tags to remove so I am trying to create a macro to do this for me and am having no luck.

Here's what an entry looks like. There must be an easy way to do a macro or find/replace to take out everything inside and including the <>?

<event>
<organizer>ACC</organizer>
<organizer-phone>203-555-1212</organizer-phone>
<organizer-website>http://waterburyregionarts.com</organizer-website>
<organizer-email>info@ waterburyregionarts.com </organizer-email>
<venue>AACC</venue>
<address>123 Main Street South Southbury,CT 06488</address>
<phone>203-555-1212</phone>
<website>http://waterburyregionarts.com</website>
<title>Acrylic Pet Portraits</title>
<content>Acrylic Pet Portraits</content>
<eventdate>Sep. 9, 16, 23, 30: 10 am - 12 pm</eventdate>
<eventcost>130.00</eventcost>
</event>

Thanks in advance! I'm desperate.
Reply With Quote