title: Can I use a wildcard when setting up area registration in an MVC route?
body: <p>I have an address like the following:</p>
  
  <pre><code>www.stack.com/content-00000/solutions-about
  </code></pre>
  
  <p>My route registration (unverified but maybe 90% okay) looks like this:</p>
  
  <pre><code>public class ContentAreaRegistration : AreaRegistration
      {
          public override string AreaName
          {
              get
              {
                  return "Content";
              }
          }
  
          public override void RegisterArea(AreaRegistrationContext context)
          {
              context.MapRoute(
                  "Content_default",
                  "content-{id}/{title}",
                  new { controller = "Server", action = "Get" },
                  new { id = @"^\d{5}$" }
                  new { title = UrlParameter.Optional }
              );
          }
      }
  </code></pre>
  
  <p>Can someone confirm if this is the correct way for me to do the route </p>
  
  <pre><code>a) Go to the "Content" Area
  b) Go to the "Server" Controller
  b) Go to the "Get " action 
  c) Five digits that follow will be put into a parameter called id?
  </code></pre>
  
  <p>Also how can I make this go to another action such as "error" if the "Content-" is not followed by five numbers?</p>