• Hi,

    Here '$filter' word does not contains 'itime' thats why it is not being replaced.

    Check below statement for your reference.

    select REPLACE('abcdef','ef','EF')