title: Exclude Similarities in List of Strings to extract the Difference
body: <p>I have a list of sentences that are the same except for the Title of the book.</p>
  
  <p>How can I loop through the list and exclude the similarities to find the title of the book? </p>
  
  <p>(This is an example, it can be any short sentence with similarities.)</p>
  
  <blockquote>
    <p>The book named Lord of the Flies is a classic.<br>
    The book named To Kill a Mockingbird is a classic.<br>
    The book named The Catcher in the Rye is a classic.</p>
  </blockquote>
  
  <hr>
  
  <p>The problem I'm having is that I cannot simply use <code>regex</code> or <code>Contains()</code> to find the Title in the sentence, because I don't know what the next Sentence or Book Title will be. I'm searching through many from an external source, so I thought I could extract what's between the similar words.</p>
  
  <p><code>The book named</code> <em>The Catcher in the Rye</em> <code>is a classic</code>.</p>
  
  <hr>
  
  <pre><code>List&lt;string&gt; sentences = new List&lt;string&gt;() { };
  List&lt;string&gt; titles = new List&lt;string&gt;() { };
  
  sentences.Add("The book named Lord of the Flies is a classic.");
  sentences.Add("The book named To Kill a Mockingbird is a classic.");
  sentences.Add("The book named The Catcher in the Rye is a classic.");
  
  foreach (String title in sentences)
  {
      // what to do here?
  
      // add title to titles list
  }
  </code></pre>
  
  <p>My idea is to compare all strings in the list with each other, exclude the similar parts of the strings, and you are left with the Title. But I don't know how to go about doing it.</p>