I have tried previous answers here on SO. I was able to find only one subset of several.
here is the code and sample that I am working on.
s = "{| mySting0 |} The {| mySting1 |} The {| mySting2 |} The {| mySting3 |} make it work "
result = re.findall('{\|(.*)|}', s)
the output is,
[' mySting0 |} The {| mySting1 |} The {| mySting2 |} The {| mySting3 |} make it work ']
What am I doing wrong?