title: How to match book title and isbn with regex?
body: <p>Hi I am looking into writing a regular expression that will match the following</p>
  
  <pre><code>/book/The-title-of-the-book/0000000000/
  </code></pre>
  
  <p>where <code>The-title-of-the-book</code> is any alphanumeric character and a '-', <code>0000000000000</code> is the 10 or 13 digit isbn of the book, e.g. <code>/book/To-kill-a-mockingbird/0099419785/</code>.</p>
  
  <p>can you suggest what pattern I may use to construct the regular expression</p>