i have this given xml which i need to change only 1 element in it which will be always under the title string the (THIS_IS_NEED_TO_CHANGE) , currently i change it using sed
sudo sed -i -E 's/_THIS_IS_NEED_TO_CHANGE_/_NEW_STR_/g' the_file.xml"
but this is wrong as the "THIS_IS_NEED_TO_CHANGE" can be changed to another string
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>xxxx</string>
<key>bundle-version</key>
<string>xxxx</string>
<key>kind</key>
<string>software</string>
<key>platform-identifier</key>
<string>xxxxx</string>
<key>title</key>
<string>_THIS_IS_NEED_TO_CHANGE_</string>
</dict>
</dict>
</array>
</dict>
</plist>
** UPDATE **
I can't install any other Linux apps
I need to do it with the default installed Linux tools