Increase Replacement String Length in "Replace Text in Document" Activity

Hi,
I’m trying to replace a text in a word document that is more than the 255 Character Length.
So, Is there any way to replace texts beyond 255 characters?

maybe can use regex