Hi! I've got my expression working in regexer.com. The goal is to remove all strings that start with '{"categoryid"' and end with '"},'
Expression: /({"categoryid")(.*?)("},)/gi
Text: {"categoryid":140,"categoryname":"Seasonal-Halloween"},
I'm using the 'replacetext' processor
- Replacement strategy: Regex Replace
- Evaluation Mode: Entire text
Although it works in regexr, I get this alert in the processor: 'not a valid java regular expression'.
Does anyone have any suggestions of how I can achieve my goal? Thanks!

