aspose file tools*
The moose likes Java in General and the fly likes Regarding validation of field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regarding validation of field" Watch "Regarding validation of field" New topic
Author

Regarding validation of field

surya.raaj prakash
Ranch Hand

Joined: Oct 30, 2009
Posts: 76
Hi Friends,

I have one requirement please help me,I have developed one page,it has one field postal code,but this field takes data format like(ex:12345),but my requirement is to take the data format likes 12345-1234 and 1234(it will accept both formats).
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39415
    
  28
That sounds like something you can easily design a regular expression for.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding validation of field