I want to validate a number. This number must be from -99.99 to +99.99 but except 0 (zero). I came up with this RegEx expression
[-+]?((\d{1,2}\.?\d{0,1}[1-9])|(\d{0,1}[1-9]))
but it does not handle number of this type:
x0
xy.00
Any idea?
Edit: I am trying to do a restriction for xsd file.