I got thousand of strings that contains data and with id's that is marked with a '@xx'. If the string has a '|' it menas that there is more data with an ID.
How do I find and replace all ID's that contains a specific ID? If I want to change @1 to @24 I don't want @11 to be changed to @241
Some exampels with expected output:
21600-39600@1 -> 21600-39600@24
21600-39600@2 -> 21600-39600@2
21600-39600@7|39600-52200@11|68000-72200@1 -> 21600-39600@7|39600-52200@11|68000-72200@24
Replace(column, '@1', '@24') will not work because @11 will be changed to @241. So I need to know if it is the end of the string or if it ends with an '|'