Kimonolabs have three part regular expression which looks like this:
/^()(.*?)()$/
First part is what preceeds desired text, middle part is the text you want and the third part is what follows desired text.
The text I have is
"[USA] John Doe"
So I guess, this simple regex should give me what I want:
/^(\] )(.*?)()$/
But it doesn't. Even when I try be more specific like this:
/^(\[[A-Z]{3}\] )(.*?)()$/
I guess it is not about the actual regex, but more how Kimonolabs regexes work.