Reply to Re: Can someone help me build a regular expression?

Your name:

Reply:


Posted by Thomas Bonham on 05/02/05 15:51

mwestern@sola.com.au wrote:
> 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
>
>
>
>
>
>
>
You mite try this. I know that this work with perl.

=~ 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.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация