So i'm trying to get the XML only from this format:
--------------------------3cbec9ce8f05
Content-Disposition: form-data; name="owServerData"; filename="details.xml"
Content-Type: text/plain
<?xml version="1.0" encoding="UTF-8"?>
<Devices-Detail-Response xmlns="http://www.example.com">
// Rest omitted
</Devices-Detail-Response>
------------------------------3cbec9ce8f05--
So basically everything after the first < and everything between until the last '>'.
So far i have .*<(.*)>.*
which only returns <?xml version="1.0" encoding="UTF-8"?>
Thanks!
Expected result:
<?xml version="1.0" encoding="UTF-8"?>
<Devices-Detail-Response xmlns="http://www.example.com">
// Rest omitted
</Devices-Detail-Response>