Hopefully answer to question 1: [0-9]{1,2}-[0-9]{10}
or \d{1,2}-\d{10}
My favorite RegEx site: http://www.regular-expressions.info/reference.html
Question 2:
Conditional RegEx: only possible if the data is in the text — this is not the case here
Conditional XSD => I simply redirect you :-)
How to add conditional validation in XSD :
xsd property set required according to enum value
Hope, that is what you need, if not we can go deeper here, when you post the part of your xml containing the values in question