How to Find and Replace characters in a string column
RS & OS ===> D, LS & IS ====> SECTION\_ID 

Output required

```
1-LS-1991      1-P-1991
1-IS-1991      1-P-1991
1-RS-1991      1- D- 1991
1-OS-1991      1-D-1991

```

I have a column section id which has 1-LS-1991, 1-IS-1991, 1-RS-1991, 1-OS-1991 and multiple records of this all ids I want to replace LS with P and RS with D.

How can I do that?