hello world i am trying to remove <statusTexts>...</statusTexts> from an xml file i tried doing it this way but it seems to render the xml file useless (think it has to do with the spacing - xml files are space sensitive?) $data = FileRead($xml_file) $new_data= StringRegExpReplace($data, "<statusTexts>([V]*)</statusTexts>", "") FileOpen($xml_file, 2) FileWrite($xml_file, $new_data) i have also tried using _XMLDomWrapper but have not had success using _XMLDelet