title: Custom input mask in HTML
body: <p>I want to generate an input type of text with custom mask like <code>--day/--night</code> and user replace <code>-</code> just with numbers. any suggestion? Please help me out here.</p>
  
  <pre><code>duration: --day/--night
  </code></pre>