var f = new Ext.form.field.Text({ maskRe : /[0-9:]/, regex : /^\d{2}:\d{2}$/, regexText : 'Please enter time in HH:MM format', renderTo: Ext.getBody() })