For example:
123-234523234 - true -123453634342 - true 12-4-45464325 - false 122342322234- - true
12 rooms and only 1 def. Should appear only once, but anywhere in the quantity field.
What about:
/^(?=\d*-\d*$)[\d-]{13}$/