REPLACE_ONE_REGEX: Negative lookbehind and Negative lookahead works on formula preview but doesn't work in AppPreview

Here’s the formula ```REPLACE_ONE_REGEX(“I want to replace the word ‘and’.”,’(?<![aA-zZ])and(?![aA-zZ])’,“OR”) ````

As you can see, it works on the formula preview (possible result).

But on app Preview, it doesn’t work. Bellow I attached a screenshot from the AG Debugger:

Is it a bug from the app preview? Will it work after building the app?

The same bug occurs with a custom JS node, as described here.

1 Like

Discussed further here