aspose file tools*
The moose likes Java in General and the fly likes Need help for Regular Expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need help for Regular Expression " Watch "Need help for Regular Expression " New topic
Author

Need help for Regular Expression

Theeranit Pongtongmuang
Greenhorn

Joined: May 17, 2009
Posts: 19
Hello everyone

I try to create pattern for user to create new password

pasword 's length must be equal or greater than 8
and the charactor can be a-z A-Z 0-9 and special charactor !@#$%^*()_+-?.,<>}{[]}
each charactor can occure equal or greater than 0


Thank you in advance
mark benz
Greenhorn

Joined: Aug 18, 2009
Posts: 15
Let us see what you have come up with so far
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61657
    
  67

Please take the time to choose the correct forum for your posts. This forum is for questions on JSP.

For more information, please read this.

This post has been moved to a more appropriate forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Theeranit Pongtongmuang
Greenhorn

Joined: May 17, 2009
Posts: 19
Thanks for your reply
Nawapunth Manusitthipol
Greenhorn

Joined: Aug 14, 2009
Posts: 14
Try this: "[\d\w!@#\\$%\\^*\\(\\)_\\+\\-\\?.,<>\\{\\[\\]\\}]{8,}".


Middle path.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help for Regular Expression