Search the Community
Showing results for tags 'Text Edtit Delete'.
Found 1 result
I am trying to edit an XML file by deleting all text between certain tags, including the tags themselves. For instance: <system-layout> <system-margins> <left-margin>22</left-margin> <right-margin>0</right-margin> </system-margins> <top-system-distance>218</top-system-distance> </system-layout> could be part of the XML file. I would want to delete all text between the tags "<system-layout>" and "</system-layout>", including the tags themselves. The tags could occur multiple times in any given XML file. I wish there were an option in ME to "delete substring" within the text variable I assign the XML content to, where the content between the tags could be represented by wildcard characters, such as "delete "<system-layout>*</system-layout>" (you get the drift). I'm sure there I could come up with something by splitting the text string multiple times (yada yada), but that seems like a pain. Anybody have a "simple" solution to this problem? Cheers, MakaPaka