Cannot Access Flow Variable in String Replacer?

Trying to replace contents (e.g. “some identifierxyz in a text” by “identifierxyz”) using the string replacer node I am not getting any matches :confused:

Using either

pattern
*$identifier$*
and replacement text
$identifier$

or

regex
.*(\Q$identifier$\E).*
and replacement with back reference
$1

does create hits.

Whereas inserting the searched for string, copy pasting it from the source table, does; e.g. using

regex
.*(identifierxyz).*
and replacement with back reference
$1

does.

Am I addressing the flow variable wrongly?

Hi there!

What is the value of your flow variable and where would you like to use it?

Br,
Ivan