Re: Checking User Input
- From: "Rick Rothstein" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx>
- Date: Thu, 19 May 2005 15:24:49 -0400
> I have a textbox where the user could input a string or a
> list of strings separated by ";". I use the split function
> to get an array. Now, my problem is that I need a way of
> controling that ";" is used and not other separator
> like ,.: or anything else. I know a regular expression
> could be used to enforce this rule, but I am not familiar
> with regexpr at all. Could someone give a hand on how to
> create the regexpression?
What characters are allowed to be in the list items themselves?
Specifically, can there be anything other than letters of the alphabet
or digits? If so, what characters?
Rick - MVP
.
- Follow-Ups:
- Re: Checking User Input
- From: HLong
- Re: Checking User Input
- References:
- Checking User Input
- From: HLong
- Checking User Input
- Prev by Date: Re: A challenge to all you smart coders--Change background color of a specific Form Titlebar
- Next by Date: Program to print source code
- Previous by thread: Re: Checking User Input
- Next by thread: Re: Checking User Input
- Index(es):
Relevant Pages
|
Loading