How to use oReplace/Reg_exp for different character with different value replacement in same string

Database

How to use oReplace/Reg_exp for different character with different value replacement in same string