This discussion is archived
2 Replies Latest reply: Oct 22, 2006 11:16 AM by 807607 RSS

regex - only allow numbers & one decimal

807607 Newbie
Currently Being Moderated
I am trying to write a regular expression that will only allow numbers and one decimal place (aka dollars and cents). How would I write such an expression?

Thanks in advance.