How we can edit filter values through code

Hi ,

I want to add ^ in the value of multi-select dropdown value through code when we do filter, as in DB we add this special character so while doing filter I want to add this special char while filtering.

Filter values -

db values

As both are different I need to add this ^ in filter list also.

I don’t want to change anything in options value I just want to add ^ while filtering.

How we can do that can anyone suggest?