Get all %(name)s placeholders in python : <p>I have a string that contains <code>%(name)s</code> placeholders and I would like to get all the names, for example: <code>This is a %(name)s example string %(foo)s I would like %(bar)s to extract all the placeholders from %(place)s</code></p>

<p>I would like to get a list containing <code>name</code>, <code>foo</code>, <code>bar</code>, <code>place</code></p>
