> Something like this? > /^ *[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)? *$/; yes :) That matches Integers or Floating points... (But it also matches 3.14.15, and such. No biggie, I can test for multiple dots, etc....) Thx Chipmunk! -Sneex- :] - FCCJ * 501 W State St * Jacksonville, Fl 32202 * 904/632-3089 - ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe