I am having trouble with REGEX find and replace. When I use online testers, the code works. I tested it in a Java tester, Javascript tester, and others. Here is what the data looks like:
ASAP, , ,
ASAP, Manual, ,
ASAP, , ,
ASAP, , ,
Device Issues, Manual, ,
Device Issues, , ,
Device Issues, Manual, ,
Device Issues, , ,
Device Issues, Manual, ,
Device Issues, , ,
Device Issues, , ,
Investigate, Manual, ,
Investigate, QA, ,
Investigate, , ,
and here is my code:
,\B(\s\W){1,}
The object is to remove all of the trailing ", " (that's comma and space), with the exception of those that are in between the words.
When I put the code in KNIME, it doesn't work like it is supposed to work.