Skip to main content
MattWho
MattWhoAnswer
Titanium ⭐️⭐️⭐️
May 2, 2019

@Nick Stantzos

You can ignore the unexpected coloring rendered by the NiFi Expression language editor window.
The java regex replace should work just using "# DOG CAT BIRD" or "\# DOG CAT BIRD".


Thank you,

Matt

4 replies

Praninder
Gold ⭐️
May 2, 2019

Did you try using '\' character?

Translate
nicholas_stantz
Silver ⭐️⭐️
May 2, 2019

With the '\' character, the '#' character still highlights the text after it as a comment:

108373-1556809188675.png

Translate
MattWho
Titanium ⭐️⭐️⭐️
MattWhoAnswer
Titanium ⭐️⭐️⭐️
May 2, 2019

@Nick Stantzos

You can ignore the unexpected coloring rendered by the NiFi Expression language editor window.
The java regex replace should work just using "# DOG CAT BIRD" or "\# DOG CAT BIRD".


Thank you,

Matt

Translate
nicholas_stantz
Silver ⭐️⭐️
May 2, 2019

Thanks Matt, I didn't realize that the colored text was not a comment in this case.

Translate