I am trying to find regex pattern in XSD that allow both positive and negative integers
My current code allows only positive integers.
xs:pattern value="[0-9]{0,10}"
Assuming you only mention an optional negative sign in front of the number:
xs:pattern value="-?[0-9]{0,10}"
1.4m articles
1.4m replys
5 comments
57.0k users