The contents of the file as as follows:
<?xml version='1.1' encoding='UTF-8'?>
<sites>
<site>
<url>https://host.com/path/another-path/stable-1.630/update-center.json</url>
</site>
</sites>
I tried the following:
sed -i '' -e "s/stable-\d+.\d+/stable-2.233/g" ${FILE_PATH}
Essentially, my intention is to replace the version number after 'stable-'. However, it doesn't seem to be replacing the text.