regex - XSD regular expression restriction on xsd:string -
what regular expression if want sequence of integers separated @ least 1 blank?
something "123 098".
here's how use regular expression 2 sequences of digits separated @ least 1 whitespace character:
<xs:simpletype name="twosequencesofdigitstype"> <xs:restriction base="xs:string"> <xsd:pattern value="\d+\s+\d+"/> </xs:restriction> </xs:simpletype>
Comments
Post a Comment