title: How can I set Regular Expression on TextBox?
body: <p>How can I set a regular expression on <a href="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation" rel="noreferrer">WPF</a> TextBox?
  I want the textbox to accept input in some predefined format.
  Is it possible?</p>