I'm looking for a way to achieve replacements in a string.
Let's say I have a text which is (([343]+([509])*[1584]))/25. I want each number that exists in this text (which is enclosed in brackets) be updated with a value plus 2000.
So, this (([343]+([509])*[1584]))/25 should become this (([2343]+([2509])*[3584]))/25
I should do this via MS SQL. Could anyone get me started?