Can someone help me build a regular expression?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I've sucessfully got a JavaScript validating some text boxes to make
sure that only numbers exist.    I cheated and downloaded a regular
expression someon else had used and that works nicely.      I wish to
validate the text box in the format of:

xXX.X

With the upper case Xs being a required number and the lower case x
being allowed but not needed.

Can anybody help me?    

Ta
Matthew







[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux