User based string template
<p>I have a string template that the user chooses, I need to take that template and fill in the requested information.</p>

<pre><code>string templateString = "%author% - %title% (%year%)";
</code></pre>

<p>I could do .Contains() and .Replace(), however the template could have a large amount of inputs or a small amount such as:</p>

<pre><code>string templateString = "%author% - %publisher% - %isbn% - %asin% - %title% (%year%)";
</code></pre>

<p>So to do .Contains() and .Replace() for every option that the user can choose seems inefficient, what I am hoping to do is find a better way of populating the templateString with the requested information. Any help would be greatly appreciated. This would be used on thousands of items.</p>

<p>The program itself takes however many files the user inputs (ebooks, some of us have thousands of them), and it renames every ebook based off the individual user's template, filling the information with metadata scraped from the ebook.</p>
