0 Replies - 948 Views - Last Post: 16 April 2009 - 09:55 PM

#1 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1658
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Valid money format

Posted 16 April 2009 - 09:55 PM

Description: Regular expression patter for matching valid money format. Allows for a $ and a + or - in it as well. Allows for only 2 decimal places
^$?[+-]?[d,]*.?d{0,2}$

Is This A Good Question/Topic? 0
  • +

Page 1 of 1