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]
|