I need to pull out a single string containing the words from extracted fields:
[[cat]][[dog]][[mouse]][[apple]][[banana]][[pear]][[plum]][[pool]]
So from this I need: cat dog mouse apple banana pear plum pool
.
I've been trying for 2 hours to make a regular expression for this.
The best I get is (?<=[[]\S)(.*)(?=]])
which gets me:
cat]][[dog]][[mouse]][[apple]][[banana]][[pear]][[plum]][[pool
Any ideas? Thanks!