• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help for Regular Expression

 
Theeranit Pongtongmuang
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let us see what you have come up with so far
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Theeranit Pongtongmuang
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply
 
Nawapunth Manusitthipol
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this: "[\d\w!@#\\$%\\^*\\(\\)_\\+\\-\\?.,<>\\{\\[\\]\\}]{8,}".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic