In article <20040711102845.20709.qmail@xxxxxxxxxxxxxxxxxxxxxxx>, Rinku wrote: >> That's correct behaviour. The alphabet doesn't know what a space is ;) >> Thus append the other allowed characters to your a-zA-Z interval. > Can you pls tell me how to add space in name ? If you reply under what is already written (and cut the irrelevant things out) , things stay clear for everybody. As i mentionned before, use your regular expressions manual. There you will find what \s and \w mean. -- Tim Van Wassenhove <http://home.mysth.be/~timvw> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php