Re: Can someone help me build a regular expression?
| From: | Thomas Bonham | Date: | Mon, 02 May 2005 12:51:59 +0000 |
| Subject: | Re: Can someone help me build a regular expression? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214325@lists.php.net to get a copy of this message | ||
mwestern@sola.com.au wrote:
Hi All, I've sucessfully got a JavaScript validating some text boxes to make=~ m/^[0-9][A-Z][a-z]{2-3} \.[0-9]+$/ I'm still very new to this. But I'm trying to help. Thomas freeswimfreak@yahoo.comsure that only numbers exist. I cheated and downloaded a regular expression someon else had used and that works nicely. I wish tovalidate 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 You mite try this. I know that this work with perl.