By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| id | display_text |
|---|---|
| 1 | Hey @{{"user":12}}@, look at this |
| 2 | Thats pretty cool |
| 3 | @{{"user":41}}@ could you take a peek at this? |
| 4 | This id a string @{{"user":12}}@ which contains 2 patterns @{{"user":41}}@ to be replaced. |
| old_id | new_id |
|---|---|
| 12 | 100 |
| 41 | 101 |
| id | display_text |
|---|---|
| 1 | Hey @{{"user":100}}@, look at this |
| 2 | Thats pretty cool |
| 3 | @{{"user":101}}@ could you take a peek at this? |
| 4 | This id a string @{{"user":100}}@ which contains 2 patterns @{{"user":101}}@ to be replaced. |