I want to filter the following word APPLE from this string:
"[BANANA => APPLE]"
I tried to do that with the RegEx (?<=\> ).+?(?=]) but that doesn't solve my problem.
EDIT: I am trying this in Grok Debugger.
%{TO:client}.
TO (?<=\> ).+?(?=])
but displaying to me no matches.
=>\s*(?<client>[^\]]+)