0 Replies - 987 Views - Last Post: 15 June 2009 - 01:05 PM

#1 PsychoCoder  Icon User is offline

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

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

Validate currency values

Posted 15 June 2009 - 01:05 PM

Description: This pattern will validate valid currency values, either negative or positive values. If a decimal is present then 2 numbers are required after it
^(-)?d+(.dd)?$

Is This A Good Question/Topic? 0
  • +

Page 1 of 1