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

Database
Enthusiast

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