I need a regular expression that will only allow a variable to contain digits. it should fail if there is anything else in the variable: dollar signs, commas, dots, alphas, spaces, quotes etc. I thought the following would work, I am obviously incorrect.
return 1 unless ($Bid_Amount =~ [/d/] ); any help would be appreciated. Al Hospers CamberSoft, Inc. al<at>cambersoft<dot>com http://www.cambersoft.com Shockwave and Director development, CD-ROM, HTML, CGI scripting, and Graphic Design. A famous linguist once said: "There is no language wherein a double positive can form a negative." YEAH, RIGHT -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]