This regex ought to do it:
^[\d\.,]+$
Edit:
Here's a better regex, to allow more sane number formats (for US dollars). Still not perfect - would need to know exactly what validation you are expecting, if this isn't quite it.
^(\d{1,3})?(,?\d{3})*(\.\d{2})?$