https://dealsforwhiskytasting.blogspot.com/2024/06/using-regex-to-replace-only-last.html
Using Regex To Replace Only The Last Occurrence Of A Pattern With Js