View Single Post
  #7 (permalink)  
Old 06-29-2007, 02:16 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
PHP Code:
$regexp "^[A-Za-z0-9]"
This regular expression mean only alphabet or number at the beginner of
the string would match.

PHP Code:
$regexp "^[A-Za-z0-9]$"
This regular expression mean only one character is allow and that character
must be alphabet or number.

__________________

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