Fixed masked textbox to check regex on delete and backspace press
Upadeted regex to allow blank (for convenience)
Fixed bugs that allow no blank values to be set for areas/detectors