struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Jain" <Eric.J...@isb-sib.ch>
Subject Re: Validator
Date Tue, 14 Jan 2003 16:56:02 GMT
> ^\d{5}\d*$ -- Zip validation that comes with the validator

Would be the same as ^\d{5,}$, meaning 'at least five digits'.


> 33634-6661 OR 33634

Try ^\d{4,}(\-\d{4,})?$


--
Eric Jain


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message