title: Group values using wildcards
body: <p>I have an sqlite3 database as follows:</p>
  <pre><code>Forename, Surname, District, Religion
  John, Doe, Springfield, Cathlick
  James, Smith, Springfield, RC
  Bill, McGee, Springfield, Presbyterian
  James, Campbell, Springfield, Presperterien
  Michael Doyle, Washington, Roman Catholic
  </code></pre>
  <p>I wish to count the number of Catholics and Presbyterians in each District, as follows:</p>
  <pre><code>District, Catholic, Presbyterian
  Springfield, 2, 2
  Washington, 0, 1
  </code></pre>
  <p>Where I am using <code>%Cath%</code> and <code>RC</code> to match Catholic and <code>%Pres%</code> to match Presbyterian. There are a huge number of spelling errors with regard to religion. How would you recommend I group the various spelling variations for each religion in order to add up the number with each religion per district?</p>