Reply to Re: Validating input

Your name:

Reply:


Posted by Tim Van Wassenhove on 06/18/06 14:11

On 2006-06-18, J Huntley Palmer <jhp@dontspam.spam> wrote:
> I need to make sure an input is a contiguous string with only printable
> characters (english alphabet+numbers only) and no whitespace or
> punctuation marks.

I would use a regular expression for that. Since it's the weekend you
still have time to come up with such a RE.

Hint: lookup the meaning(s) of '^' , '\w+' and '$' in regular expressions.

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация