This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Define "numeric". Is 0xA80 numeric? What about FF or 909.09? Generally speaking if you're talking about an integral value in base 10 you could use String.matches("-?\\d+") (I think) or you could try passing it to Integer.parseInt() and catching the exception if it occurs. If it's more complicated than that then you'll have to get more specific I think. [ October 27, 2006: Message edited by: Ken Blair ]