human
How do I find the string between two special characters?
assistant
Here is some code to find the string in `your_string` between two special characters "[" and "]"

re.search('\\[(.*)\\]', your_string).group(1)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.