I'm trying to create a REGEX to find the string between \
and >
in the following input :
\\RANDOM\APPLE\BOB\GEORGE\MIKE\TOM >>\\TEST\TEST2\TEST3\TEST\TEST\JOHN.
Desired Output:TOM
I've been able to create ([^>]+)
to isolate the first section of the string before the first >
. I just can't seem to figure out how to expand on this and isolate TOM.