Re: matching only digits

2004-06-29 Thread John W. Krahn
Guruguhan N wrote: > > Hi All, Hello, > I wanted to check whether the user input is only a > number and does contain any alphabet/s anywhere i.e. starting, > end or in-between. Can somebody tell me how to do this? That is a Frequently Asked Question and can be found in the standard pe

Re: matching only digits

2004-06-28 Thread John W. Krahn
Guruguhan N wrote: > > Hi All, Hello, > I wanted to check whether the user input is only a > number and does contain any alphabet/s anywhere i.e. starting, > end or in-between. Can somebody tell me how to do this? That is a Frequently Asked Question and can be found in the standard pe

RE: matching only digits

2004-06-28 Thread Bob Showalter
N, Guruguhan (GEAE, Foreign National, EACOE) wrote: > Hi All, > I wanted to check whether the user input is only a number > and does contain any alphabet/s anywhere i.e. starting, end or > in-between. Can somebody tell me how to do this? I assume you mean "does NOT contain any ..." chom

Re: matching only digits

2004-06-28 Thread Randy W. Sims
JupiterHost.Net wrote: Randy W. Sims wrote: N, Guruguhan (GEAE, Foreign National, EACOE) wrote: Hi All, I wanted to check whether the user input is only a number and does contain any alphabet/s anywhere i.e. starting, end or in-between. Can somebody tell me how to do this? How about s

Re: matching only digits

2004-06-28 Thread JupiterHost.Net
Randy W. Sims wrote: N, Guruguhan (GEAE, Foreign National, EACOE) wrote: Hi All, I wanted to check whether the user input is only a number and does contain any alphabet/s anywhere i.e. starting, end or in-between. Can somebody tell me how to do this? How about simply m/^\d+$/ if($input

Re: matching only digits

2004-06-28 Thread Randy W. Sims
N, Guruguhan (GEAE, Foreign National, EACOE) wrote: Hi All, I wanted to check whether the user input is only a number and does contain any alphabet/s anywhere i.e. starting, end or in-between. Can somebody tell me how to do this? Use the Regexp::Common module:

Re: [Perl-beginners] matching only digits

2004-06-28 Thread Remko Lodder
N, Guruguhan (GEAE, Foreign National, EACOE) wrote: Hi All, I wanted to check whether the user input is only a number and does contain any alphabet/s anywhere i.e. starting, end or in-between. Can somebody tell me how to do this? TIA Guruguhan Hey, Please wrap your lines :-) To match 4

matching only digits

2004-06-28 Thread N, Guruguhan \(GEAE, Foreign National, EACOE\)
Hi All, I wanted to check whether the user input is only a number and does contain any alphabet/s anywhere i.e. starting, end or in-between. Can somebody tell me how to do this? TIA Guruguhan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC