Home: Perl Programming Help: Regular Expressions:
Making sure a variable is all numbers



modified
Deleted

Jan 29, 2001, 5:56 PM


Views: 3462
Making sure a variable is all numbers

I'm very new at regexs, and I don't fully understand them. How would I make an expression that will check to make sure a variable is all numbers? I figure a question this simple wouldn't be in the FAQ. ;)



Jasmine
Administrator

Jan 29, 2001, 10:02 PM


Views: 3458
Re: Making sure a variable is all numbers

No, not in the FAQ, but asked earlier this week



modified
Deleted

Jan 30, 2001, 3:31 AM


Views: 3456
Re: Making sure a variable is all numbers

Wow, I'm an airhead. I even replied several times in that thread. Haha. Thanks Jasmine :)