Verifique se a string tem suportes quadrados python
string = "This is a [sentence]"
first = string.find("[")
second = string.find("]")
print(string[first + 1:second])
Jittery Jay