I want to match [abcDe] but not [abcde]. I used (?=\[([^\[\]]*)\]) to match all between brackets, but then I tried [A-Z]+(?=\[([^\[\]]*)\]) to only match between brackets when it contains an uppercase and it doesn't work.
Does anyone know how to solve this ?