View Single Post
  #10 (permalink)  
Old 06-29-2007, 11:05 PM
siLenTz's Avatar
siLenTz siLenTz is offline
Jr. Programmer
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jun 2007
Posts: 87
iTrader: (0)
siLenTz will become famous soon enoughsiLenTz will become famous soon enough
Moreover, I prefer this regular expression "^[A-Za-z0-9]{4,30}$" than
"^[A-Za-z0-9]+$". "^[A-Za-z0-9]{4,30}$" mean only string, that
contain only alphabet or number, is matched, and it must be longer than
3 characters and shorter than 31 characters.

From siLenTz
Hope that is useful...

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote