Some of the information here may be outdated, please check the book instead
[edit]

numbers always have a range ISINTIN_RANGE(0,10) for us telephone you can do

IS_MATCH("^1+\d{3}\-?\d{3}\-?\d{4}$")

or for european something like

IS_MATCH("^\+?[\d\-]*$")
© 2008-2010 by Massimo Di Pierro - All rights reserved - Powered by web2py - design derived from a theme by the earlybird
The content of this book is released under the Artistic License 2.0 - Modified content cannot be reproduced.