I have a string like: string = "[1, 2, 3]"
I need to convert it to a list like: [1, 2, 3]
I\'ve tried using regular expression for this purpose, but